Function at 0x5e4ee0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x6bafbc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1b8
mov edx, dword [0x729c30]
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0xc]
lea ecx, [eax - 1]
cmp ecx, 0x35
push esi
push edi
mov dword [esp + 0x10], ebx
ja case.0x5e4f29.19
movzx ecx, byte [ecx + 0x5e57c4]
mov esi, dword [ebp + 8]
jmp dword [ecx*4 + 0x5e5778]
xor dl, dl
cmp eax, 2
mov byte [esp + 0xe], dl
je 0x5e4f40
cmp eax, 0xe
jne 0x5e4f42
mov dl, 1
cmp eax, 0xd
je 0x5e4f4c
cmp eax, 0xe
jne 0x5e4f51
mov byte [esp + 0xe], 1
mov eax, dword [0x729c30]
lea esi, [eax + 0x800]
test dl, dl
jmp 0x5e50e5
xor dl, dl
cmp eax, 4
mov byte [esp + 0xe], dl
je 0x5e4f73
cmp eax, 0x10
jne 0x5e4f75
mov dl, 1
cmp eax, 0xf
je 0x5e4f7f
cmp eax, 0x10
jne 0x5e4f84
mov byte [esp + 0xe], 1
mov eax, dword [0x729c30]
lea esi, [eax + 0x7c0]
test dl, dl
jmp 0x5e51d1
xor dl, dl
cmp eax, 6
mov byte [esp + 0xe], dl
je 0x5e4fa6
cmp eax, 0x12
jne 0x5e4fa8
mov dl, 1
cmp eax, 0x11
je 0x5e4fb2
cmp eax, 0x12
jne 0x5e4fb7
mov byte [esp + 0xe], 1
mov eax, dword [0x729c30]
lea esi, [eax + 0x780]
test dl, dl
jmp 0x5e50e5
cmp eax, 8
mov byte [esp + 0xe], 0
mov byte [esp + 0xf], 0
je 0x5e4fdd
cmp eax, 0x14
jne 0x5e4fe2
mov byte [esp + 0xe], 1
cmp eax, 0x13
je 0x5e4fec
cmp eax, 0x14
jne 0x5e4ff1
mov byte [esp + 0xf], 1
lea esi, [edx + 0x780]
mov ecx, 0x10
lea edi, [esp + 0x140]
rep movsd dword es:[edi], dword [esi]
lea esi, [edx + 0x7c0]
mov ecx, 0x10
lea edi, [esp + 0x80]
lea eax, [esp + 0x80]
rep movsd dword es:[edi], dword [esi]
push eax
lea ecx, [esp + 0x144]
push ecx
lea edx, [esp + 0xc8]
push edx
call fcn.005f3adb
mov al, byte [esp + 0xe]
test al, al
mov ecx, 0x10
lea esi, [esp + 0xc0]
lea edi, [esp + 0x30]
rep movsd dword es:[edi], dword [esi]
je 0x5e505f
lea eax, [esp + 0x30]
push eax
push 0
mov ecx, eax
push ecx
call fcn.005f4001
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [ebx]
jmp 0x5e534d
cmp eax, 0xa
mov byte [esp + 0xf], 0
mov byte [esp + 0xe], 0
je 0x5e507f
cmp eax, 0x16
jne 0x5e5084
mov byte [esp + 0xf], 1
cmp eax, 0x15
je 0x5e508e
cmp eax, 0x16
jne 0x5e5093
mov byte [esp + 0xe], 1
lea esi, [edx + 0x7c0]
mov ecx, 0x10
lea edi, [esp + 0x140]
rep movsd dword es:[edi], dword [esi]
lea esi, [edx + 0x800]
lea edx, [esp + 0xc0]
push edx
mov ecx, 0x10
lea edi, [esp + 0xc4]
lea eax, [esp + 0x144]
rep movsd dword es:[edi], dword [esi]
push eax
lea ecx, [esp + 0x88]
push ecx
call fcn.005f3adb
mov al, byte [esp + 0xf]
lea esi, [esp + 0x80]
test al, al
lea edi, [esp + 0x30]
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
je 0x5e5101
lea edx, [esp + 0x30]
push edx
push 0
mov eax, edx
push eax
call fcn.005f4001
mov al, byte [esp + 0xe]
lea edx, [esp + 0x30]
push edx
mov edx, dword [ebx]
jmp 0x5e5282
cmp eax, 0xc
mov byte [esp + 0xf], 0
mov byte [esp + 0xe], 0
je 0x5e5125
cmp eax, 0x18
jne 0x5e512a
mov byte [esp + 0xf], 1
cmp eax, 0x17
je 0x5e5134
cmp eax, 0x18
jne 0x5e5139
mov byte [esp + 0xe], 1
lea esi, [edx + 0x780]
mov ecx, 0x10
lea edi, [esp + 0x140]
rep movsd dword es:[edi], dword [esi]
lea esi, [edx + 0x7c0]
mov ecx, 0x10
lea edi, [esp + 0xc0]
rep movsd dword es:[edi], dword [esi]
lea esi, [edx + 0x800]
mov ecx, 0x10
lea edi, [esp + 0x180]
lea eax, [esp + 0xc0]
rep movsd dword es:[edi], dword [esi]
push eax
lea ecx, [esp + 0x144]
push ecx
lea edx, [esp + 0x88]
push edx
call fcn.005f3adb
mov ecx, 0x10
lea esi, [esp + 0x80]
lea edi, [esp + 0x100]
lea eax, [esp + 0x180]
rep movsd dword es:[edi], dword [esi]
push eax
lea ecx, [esp + 0x104]
push ecx
lea edx, [esp + 0x88]
push edx
call fcn.005f3adb
mov al, byte [esp + 0xf]
lea esi, [esp + 0x80]
test al, al
lea edi, [esp + 0x30]
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
je 0x5e51ed
lea eax, [esp + 0x30]
push eax
push 0
mov ecx, eax
push ecx
call fcn.005f4001
mov al, byte [esp + 0xe]
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [ebx]
jmp 0x5e5351
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je case.0x5e4f29.19
mov esi, dword [ecx + 0x28]
xor bl, bl
cmp eax, 0x1a
mov ecx, 0x10
lea edi, [esp + 0x30]
rep movsd dword es:[edi], dword [esi]
mov byte [esp + 0xf], bl
je 0x5e5226
cmp eax, 0x1c
jne 0x5e5228
mov bl, 1
cmp eax, 0x1b
je 0x5e5232
cmp eax, 0x1c
jne 0x5e5237
mov byte [esp + 0xf], 1
lea esi, [edx + 0x7c0]
lea edx, [esp + 0x100]
push edx
lea eax, [esp + 0x34]
mov ecx, 0x10
lea edi, [esp + 0x104]
rep movsd dword es:[edi], dword [esi]
push eax
mov ecx, eax
push ecx
call fcn.005f3adb
test bl, bl
je 0x5e5273
lea edx, [esp + 0x30]
push edx
push 0
mov eax, edx
push eax
call fcn.005f4001
mov al, byte [esp + 0xf]
lea edx, [esp + 0x30]
push edx
mov edx, dword [esp + 0x14]
mov edx, dword [edx]
test al, al
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push edx
push eax
je 0x5e5298
call dword [ecx + 0xb0]
jmp case.0x5e4f29.19
call dword [ecx + 0x98]
jmp case.0x5e4f29.19
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je case.0x5e4f29.19
mov esi, dword [ecx + 0x28]
xor bl, bl
cmp eax, 0x1e
mov ecx, 0x10
lea edi, [esp + 0x30]
rep movsd dword es:[edi], dword [esi]
mov byte [esp + 0xf], bl
je 0x5e52cc
cmp eax, 0x20
jne 0x5e52ce
mov bl, 1
cmp eax, 0x1f
je 0x5e52d8
cmp eax, 0x20
jne 0x5e52dd
mov byte [esp + 0xf], 1
lea esi, [edx + 0x7c0]
mov ecx, 0x10
lea edi, [esp + 0x100]
rep movsd dword es:[edi], dword [esi]
lea esi, [edx + 0x800]
mov ecx, 0x10
lea edi, [esp + 0x180]
lea eax, [esp + 0x100]
rep movsd dword es:[edi], dword [esi]
push eax
lea ecx, [esp + 0x34]
push ecx
mov edx, ecx
push edx
call fcn.005f3adb
lea eax, [esp + 0x180]
push eax
lea ecx, [esp + 0x34]
push ecx
mov edx, ecx
push edx
call fcn.005f3adb
test bl, bl
je 0x5e5342
lea eax, [esp + 0x30]
push eax
push 0
mov ecx, eax
push ecx
call fcn.005f4001
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx]
mov al, byte [esp + 0x13]
test al, al
mov eax, dword [ebp + 8]
mov edx, dword [eax]
push ecx
push eax
je 0x5e5367
call dword [edx + 0xb0]
jmp case.0x5e4f29.19
call dword [edx + 0x98]
jmp case.0x5e4f29.19
mov eax, dword [ebp + 0x10]
test eax, eax
je case.0x5e4f29.19
mov ebx, dword [ebp + 0x14]
movzx edi, word [ebx + 0x20]
mov edx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
mov ecx, edi
shl ecx, 6
push ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], eax
call fcn.005354dd
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
test esi, esi
mov dword [esp + 0x1cc], 0
je 0x5e53c5
push 0x578c20
push edi
push 0x40
push esi
call fcn.004127b0
jmp 0x5e53c7
xor esi, esi
xor eax, eax
cmp word [ebx + 0x20], ax
mov dword [esp + 0x14], esi
mov dword [esp + 0x1cc], 0xffffffff
jbe 0x5e540f
mov edx, esi
mov ecx, dword [ebx + 4]
movzx edi, ax
movzx esi, word [ecx + edi*2]
imul esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
shl esi, 4
shl edi, 6
add esi, ecx
add edi, edx
mov ecx, 0x10
inc eax
rep movsd dword es:[edi], dword [esi]
cmp ax, word [ebx + 0x20]
jb 0x5e53e0
mov esi, dword [esp + 0x14]
movzx ecx, word [ebx + 0x20]
mov eax, dword [ebp + 8]
mov edx, dword [eax]
push ecx
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx]
push esi
push ecx
push eax
call dword [edx + 0xa0]
push esi
call sub.MSVCR71.dll_void___cdecl_operator_delete___void__
add esp, 4
jmp case.0x5e4f29.19
mov eax, dword [ebp + 0x10]
test eax, eax
je case.0x5e4f29.19
mov ebx, dword [ebp + 0x14]
movzx edi, word [ebx + 0x20]
mov edx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
mov ecx, edi
shl ecx, 6
push ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
call fcn.005354dd
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
test esi, esi
mov dword [esp + 0x1cc], 1
je 0x5e5489
push 0x578c20
push edi
push 0x40
push esi
call fcn.004127b0
jmp 0x5e548b
xor esi, esi
xor eax, eax
cmp word [ebx + 0x20], ax
mov dword [esp + 0x14], esi
mov dword [esp + 0x1cc], 0xffffffff
jbe 0x5e54d3
mov edx, esi
mov ecx, dword [ebx + 4]
movzx edi, ax
movzx esi, word [ecx + edi*2]
imul esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
shl esi, 4
shl edi, 6
add esi, ecx
add edi, edx
mov ecx, 0x10
inc eax
rep movsd dword es:[edi], dword [esi]
cmp ax, word [ebx + 0x20]
jb 0x5e54a4
mov esi, dword [esp + 0x14]
movzx ecx, word [ebx + 0x20]
mov eax, dword [ebp + 8]
mov edx, dword [eax]
push ecx
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx]
push esi
push ecx
push eax
call dword [edx + 0xa0]
push esi
call sub.MSVCR71.dll_void___cdecl_operator_delete___void__
add esp, 4
jmp case.0x5e4f29.19
mov edx, dword [ebp + 0x1c]
mov eax, dword [edx + 0x14]
test eax, eax
je case.0x5e4f29.19
mov edx, dword [eax + 0x34]
mov ecx, dword [eax + 0x30]
mov dword [esp + 0x1c], edx
mov edx, dword [eax + 0x58]
mov dword [esp + 0x24], edx
lea edx, [esp + 0x18]
push edx
mov edx, dword [ebx]
mov dword [esp + 0x1c], ecx
mov ecx, dword [eax + 0x38]
mov eax, dword [ebp + 8]
push edx
mov dword [esp + 0x28], ecx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x88]
jmp case.0x5e4f29.19
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax + 0x14]
test eax, eax
je case.0x5e4f29.19
mov edx, dword [eax + 0x28]
mov ecx, dword [eax + 0x24]
mov dword [esp + 0x1c], edx
mov edx, dword [eax + 0x58]
mov dword [esp + 0x24], edx
lea edx, [esp + 0x18]
push edx
mov edx, dword [ebx]
mov dword [esp + 0x1c], ecx
mov ecx, dword [eax + 0x2c]
mov eax, dword [ebp + 8]
push edx
mov dword [esp + 0x28], ecx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x88]
jmp case.0x5e4f29.19
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax + 0x14]
test eax, eax
je case.0x5e4f29.19
mov edx, dword [eax + 0x40]
mov ecx, dword [eax + 0x3c]
mov dword [esp + 0x1c], edx
mov edx, dword [eax + 0x58]
mov dword [esp + 0x24], edx
lea edx, [esp + 0x18]
push edx
mov edx, dword [ebx]
mov dword [esp + 0x1c], ecx
mov ecx, dword [eax + 0x44]
mov eax, dword [ebp + 8]
push edx
mov dword [esp + 0x28], ecx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x88]
jmp case.0x5e4f29.19
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax + 0x14]
test eax, eax
je case.0x5e4f29.19
mov edx, dword [eax + 0x4c]
mov ecx, dword [eax + 0x48]
mov dword [esp + 0x1c], edx
mov edx, dword [eax + 0x58]
mov dword [esp + 0x24], edx
lea edx, [esp + 0x18]
push edx
mov edx, dword [ebx]
mov dword [esp + 0x1c], ecx
mov ecx, dword [eax + 0x50]
mov eax, dword [ebp + 8]
push edx
mov dword [esp + 0x28], ecx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x88]
jmp case.0x5e4f29.19
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax + 0x14]
test ecx, ecx
je case.0x5e4f29.19
mov ecx, dword [ecx + 0x54]
mov eax, dword [ebp + 8]
mov edx, dword [eax]
push ecx
mov ecx, dword [ebx]
push ecx
push eax
call dword [edx + 0x78]
jmp case.0x5e4f29.19
mov ecx, dword [ebx]
mov edx, dword [esi]
lea eax, [esp + 0x18]
push eax
push ecx
push esi
mov dword [esp + 0x24], 0x3f800000
mov dword [esp + 0x28], 0xbe257eb5
mov dword [esp + 0x2c], 0x3c088865
mov dword [esp + 0x30], 0xb9500c47
call dword [edx + 0x88]
mov ecx, dword [ebx]
mov edx, dword [esi]
lea eax, [esp + 0x18]
push eax
push ecx
push esi
mov dword [esp + 0x24], 0xbf000000
mov dword [esp + 0x28], 0xbd2aaaaa
mov dword [esp + 0x2c], 0xbab60b61
mov dword [esp + 0x30], 0x37d00d01
call dword [edx + 0x88]
jmp case.0x5e4f29.19
mov edx, dword [str.NDL_UpdateTime]
mov ecx, dword [ebp + 0xc]
push edx
call fcn.00541cd0
test eax, eax
je case.default.0x5e56ba
mov eax, dword [eax + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0xc]
add eax, 0xffffffce
cmp eax, 4
ja case.default.0x5e56ba
jmp dword [eax*4 + 0x5e57fc]
mov eax, dword [ebp + 8]
mov edx, dword [esp + 0x10]
mov ecx, dword [eax]
push edx
jmp 0x5e56dc
mov eax, dword [ebp + 8]
fld dword [esp + 0x10]
mov ecx, dword [eax]
fsin
push ecx
fstp dword [esp]
mov edx, dword [ebx]
push edx
push eax
call dword [ecx + 0x78]
mov al, 1
mov ecx, dword [esp + 0x1c4]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x28
mov eax, dword [ebp + 8]
fld dword [esp + 0x10]
mov ecx, dword [eax]
fcos
jmp 0x5e56d8
fld dword [esp + 0x10]
mov eax, dword [ebp + 8]
fptan
mov ecx, dword [eax]
fstp st(0)
jmp 0x5e56d8
fld dword [esp + 0x10]
mov eax, dword [esp + 0x10]
fsin
lea edx, [esp + 0x70]
push edx
mov edx, dword [ebx]
mov dword [esp + 0x74], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push edx
push eax
fstp dword [esp + 0x80]
fld dword [esp + 0x1c]
fcos
fstp dword [esp + 0x84]
fld dword [esp + 0x1c]
fptan
fstp st(0)
fstp dword [esp + 0x88]
call dword [ecx + 0x88]
jmp case.0x5e4f29.19
mov ecx, dword [esp + 0x1c4]
pop edi
pop esi
xor al, al
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x28