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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x730f34
mov eax, dword fs:[0]
push eax
sub esp, 0x1a8
mov eax, dword [0x820ac4]
xor eax, esp
mov dword [esp + 0x1a0], eax
push ebx
push esi
push edi
mov eax, dword [0x820ac4]
xor eax, esp
push eax
lea eax, [esp + 0x1b8]
mov dword fs:[0], eax
mov ebx, ecx
cmp byte [ebx + 0x20], 0
je 0x4e4403
cmp byte [0x8b5003], 0
je 0x4e43fc
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x7c41f4
call fcn.0040a68d
mov eax, dword [ebx]
push dword [ebx + 0x40]
mov eax, dword [eax]
push dword [eax + 8]
call fcn.004f9bca
xor al, al
jmp 0x4e4c9a
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x4e4464
cmp byte [0x8b5003], 0
je 0x4e4436
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x7c4228
call fcn.0040a68d
mov eax, dword [ebx]
push dword [ebx + 0x40]
mov eax, dword [eax]
push dword [eax + 8]
call fcn.004f9bca
lea eax, [ebx + 0x1a8]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
mov byte [esp + 0x1c], 0
call fcn.0040d4f7
mov dword [ebx + 0x1b8], 7
lea eax, [esp + 0x14]
call fcn.0040d1d9
jmp 0x4e43fc
mov eax, dword [0x8b6848]
call fcn.005407bb
test eax, eax
ja 0x4e4525
cmp byte [0x8b5003], 0
je 0x4e44a1
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x7c4258
call fcn.0040a68d
mov eax, dword [ebx]
push dword [ebx + 0x40]
mov eax, dword [eax]
push dword [eax + 8]
call fcn.004f9b62
mov al, byte [ebp + 8]
mov byte [esp + 0x3c], al
mov eax, dword [esp + 0x3c]
sub esp, 0x20
mov dword [esp + 0x84], eax
mov eax, esp
mov dword [esp + 0x34], esp
sub esp, 0xc
mov edi, esp
mov dword [esp + 0x88], fcn.004e4389
mov dword [esp + 0x8c], ebx
lea esi, [esp + 0x88]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
call fcn.004e6f36
and dword [esp + 0x1e0], 0
call fcn.0043df85
test eax, eax
jge 0x4e44f6
neg eax
cdq
mov ecx, 0x1388
idiv ecx
or dword [esp + 0x1e0], 0xffffffff
push 0x7c4290
push 1
add ebx, 0x1bc
add edx, 0x1f4
push edx
push ebx
call fcn.0045c9b7
jmp 0x4e43fc
mov eax, dword [ebx]
mov esi, dword [eax + 4]
lea ecx, [ebx + 0x3c]
push ecx
lea edx, [ebx + 0x30]
push edx
push 1
push dword [eax]
lea ecx, [ebx + 4]
push ecx
push dword [ebx + 0x40]
lea edi, [ebx + 0x28]
call fcn.005030dd
test al, al
jne 0x4e460f
cmp byte [0x8b5003], al
je 0x4e45cd
lea eax, [esp + 0x78]
push eax
mov eax, dword [ebx]
mov eax, dword [eax]
call fcn.004dc166
xor edi, edi
lea ecx, [esp + 0x40]
push 0
inc edi
push ecx
mov esi, eax
mov dword [esp + 0x1c8], edi
call fcn.0044e491
sub esp, 0x14
mov ecx, esp
mov byte [esp + 0x1dc], 2
mov dword [esp + 0x30], esp
push eax
push 0x7c42c0
push ecx
call fcn.00424625
mov eax, dword [ebx]
mov eax, dword [eax]
add esp, 0xc
push dword [ebx + 0x40]
push dword [eax + 8]
call fcn.004f9b96
push 0
push edi
lea ecx, [esp + 0x48]
call fcn.00407277
or dword [esp + 0x1c0], 0xffffffff
push 0
push edi
lea ecx, [esp + 0x80]
call fcn.00401f4f
cmp byte [ebp + 8], 0
je 0x4e45e7
mov eax, dword [ebx]
mov eax, dword [eax]
test eax, eax
je 0x4e45e7
push eax
mov eax, dword [eax + 8]
mov ecx, dword [eax + 0x34]
call fcn.004fbdc5
lea eax, [ebx + 0x1a8]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
mov byte [esp + 0x1c], 0
call fcn.0040d4f7
mov dword [ebx + 0x1b8], 6
jmp 0x4e4459
lea edi, [ebx + 0x30]
xor esi, esi
cmp dword [edi], esi
jne 0x4e4645
cmp byte [0x8b5003], 0
je 0x4e45e7
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x7c4310
call fcn.0040a68d
mov eax, dword [ebx]
push dword [ebx + 0x40]
mov eax, dword [eax]
push dword [eax + 8]
call fcn.004f9b96
jmp 0x4e45e7
cmp byte [0x8b5003], 0
je 0x4e4750
mov eax, dword [ebx]
mov eax, dword [eax]
mov ecx, dword [ebx + 0x28]
sub ecx, dword [eax + 0x18]
mov edx, dword [ebx + 0x2c]
sbb edx, dword [eax + 0x1c]
lea eax, [esp + 0xcc]
push edi
push eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
call fcn.0044e84a
mov dword [esp + 0x28], eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0xa0]
push eax
mov dword [esp + 0x1d0], 3
call fcn.0044e876
push eax
lea eax, [esp + 0xc4]
push 0x7c4360
push eax
mov byte [esp + 0x1dc], 4
call fcn.00424625
add esp, 0x1c
push 0x7c4354
push eax
lea eax, [esp + 0x48]
push eax
mov byte [esp + 0x1cc], 5
call fcn.0040bba8
add esp, 0xc
mov byte [esp + 0x1c0], 6
push dword [esp + 0x20]
push eax
lea eax, [esp + 0x80]
push eax
call fcn.00424550
add esp, 0xc
push 0xffffffffffffffff
push esi
push eax
lea ecx, [ebx + 0x18c]
mov byte [esp + 0x1cc], 7
call fcn.0040a0c9
push esi
push 1
lea ecx, [esp + 0x80]
call fcn.00407277
push esi
push 1
lea ecx, [esp + 0x48]
call fcn.00407277
push esi
push 1
lea ecx, [esp + 0xb8]
call fcn.00407277
push esi
push 1
lea ecx, [esp + 0x9c]
call fcn.00407277
push esi
push 1
lea ecx, [esp + 0xd4]
call fcn.00407277
jmp 0x4e4760
push 0x7c4378
lea ecx, [ebx + 0x18c]
call fcn.0040a368
mov ecx, dword [ebx + 0x28]
mov edx, dword [ebx + 0x2c]
mov eax, dword [edi]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
lea esi, [esp + 0x28]
push esi
push edx
push ecx
push ebx
mov dword [esp + 0x1d0], 8
call fcn.004e5c0a
lea eax, [ebx + 0x1c0]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
mov byte [esp + 0x1c], 0
call fcn.0040d4f7
mov byte [esp + 0x1c0], 9
push dword [ebx + 0x1d0]
call fcn.0050f6d2
mov eax, dword [ebx]
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x28]
mov edi, dword [ebx + 0x3c]
mov esi, dword [eax + 0x14]
push edi
call fcn.004e83c7
mov ecx, edi
mov edi, dword [ebx + 0x1d0]
push eax
call fcn.0050f12c
lea eax, [esp + 0x14]
mov byte [esp + 0x1c0], 8
call fcn.0040d1d9
xor edi, edi
cmp dword [esp + 0x2c], edi
mov byte [ebx + 0x20], 1
jne 0x4e47fd
xor eax, eax
jmp 0x4e4808
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x2c]
sar eax, 4
add dword [ebx + 0x140], eax
lea eax, [ebx + 0x1a8]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
mov byte [esp + 0x1c], 0
call fcn.0040d4f7
lea eax, [ebx + 0x1b8]
xor ecx, ecx
cmp dword [eax], edi
setne cl
lea ecx, [ecx + ecx + 1]
mov dword [eax], ecx
lea eax, [esp + 0x14]
call fcn.0040d1d9
cmp byte [0x8b5003], 0
je 0x4e4a58
cmp dword [esp + 0x2c], edi
jne 0x4e485c
mov dword [esp + 0x20], edi
jmp 0x4e486b
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x2c]
sar eax, 4
mov dword [esp + 0x20], eax
mov eax, dword [ebx]
mov eax, dword [eax]
mov ecx, dword [ebx + 0x28]
sub ecx, dword [eax + 0x18]
mov edx, dword [ebx + 0x2c]
sbb edx, dword [eax + 0x1c]
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x184]
push ecx
mov dword [esp + 0x1c], edx
call fcn.004dc166
lea ecx, [esp + 0x14c]
push edi
push ecx
mov esi, eax
call fcn.0044e491
mov esi, eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x120]
push eax
call fcn.0044e84a
mov dword [esp + 0x34], eax
lea eax, [ebx + 0x30]
push eax
lea eax, [esp + 0x17c]
push eax
call fcn.0044e84a
mov dword [esp + 0x38], eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x14c]
push eax
call fcn.0044e876
push eax
lea eax, [esp + 0x11c]
push 0x7c439c
push eax
mov byte [esp + 0x1ec], 0xe
call fcn.00424625
add esp, 0x2c
push 0x7c4398
push eax
lea eax, [esp + 0x48]
push eax
mov byte [esp + 0x1cc], 0xf
call fcn.0040bba8
add esp, 0xc
mov byte [esp + 0x1c0], 0x10
push dword [esp + 0x20]
push eax
lea eax, [esp + 0x80]
push eax
call fcn.00424550
add esp, 0xc
push 0x7c4394
push eax
lea eax, [esp + 0xb8]
push eax
mov byte [esp + 0x1cc], 0x11
call fcn.0040bba8
add esp, 0xc
push dword [esp + 0x24]
mov byte [esp + 0x1c4], 0x12
push eax
lea eax, [esp + 0x9c]
push eax
call fcn.00424550
add esp, 0xc
mov byte [esp + 0x1c0], 0x13
push 0x7c4384
push eax
lea eax, [esp + 0xd4]
push eax
call fcn.0040bba8
sub esp, 0x10
mov ecx, esp
mov byte [esp + 0x1dc], 0x14
mov dword [esp + 0x30], esp
push esi
push eax
push ecx
call fcn.00424550
mov eax, dword [ebx]
mov eax, dword [eax]
add esp, 0xc
push dword [ebx + 0x40]
push dword [eax + 8]
call fcn.004f9b62
xor esi, esi
push edi
inc esi
push esi
lea ecx, [esp + 0xd4]
call fcn.00407277
push edi
push esi
lea ecx, [esp + 0x9c]
call fcn.00407277
push edi
push esi
lea ecx, [esp + 0xb8]
call fcn.00407277
push edi
push esi
lea ecx, [esp + 0x80]
call fcn.00407277
push edi
push esi
lea ecx, [esp + 0x48]
call fcn.00407277
push edi
push esi
lea ecx, [esp + 0x100]
call fcn.00407277
push edi
push esi
lea ecx, [esp + 0x138]
call fcn.00407277
push edi
push esi
lea ecx, [esp + 0x170]
call fcn.00407277
push edi
push esi
lea ecx, [esp + 0x11c]
call fcn.00407277
push edi
push esi
lea ecx, [esp + 0x154]
call fcn.00407277
push edi
push esi
lea ecx, [esp + 0x18c]
mov byte [esp + 0x1c8], 8
call fcn.00401f4f
cmp dword [0x8b6844], edi
je 0x4e4c8f
lea eax, [ebx + 0x1d4]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
mov byte [esp + 0x1c], 0
call fcn.0040d4f7
lea ecx, [ebx + 0x1e8]
mov byte [esp + 0x1c0], 0x15
mov eax, dword [ecx]
call dword [eax]
lea eax, [esp + 0x14]
mov byte [ebx + 0x228], 0
mov byte [ebx + 0x240], 0
mov dword [ebx + 0x148], edi
mov dword [ebx + 0x14c], edi
mov word [ebx + 0x38], di
mov byte [esp + 0x1c0], 8
call fcn.0040d1d9
lea eax, [esp + 0x184]
push eax
call fcn.0040d1f5
mov eax, dword [ebx]
mov dword [esp + 0x1a4], edi
mov esi, dword [eax]
push 5
add esi, 0x80
and dword [esp + 0x28], 0
pop ecx
lea edi, [esp + 0x184]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [eax]
mov ecx, dword [eax + 0x20]
mov dword [esp + 0x19c], ecx
mov eax, dword [eax + 0x24]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x1a0], eax
mov eax, dword [ebx + 0x60]
mov dword [esp + 0x1a4], eax
mov ax, word [ebx + 0x64]
mov word [esp + 0x1a8], ax
lea eax, [esp + 0x28]
mov dword [esp + 0x68], eax
mov dword [esp + 0x38], eax
xor esi, esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
cmp ecx, esi
mov byte [esp + 0x1c0], 0x16
jne 0x4e4b47
xor eax, eax
jmp 0x4e4b50
mov eax, dword [esp + 0x30]
sub eax, ecx
sar eax, 4
sub eax, dword [esp + 0x24]
mov edx, 0xaf
cmp eax, edx
jbe 0x4e4b63
mov dword [esp + 0x20], edx
jmp 0x4e4b7c
cmp ecx, esi
jne 0x4e4b6b
xor eax, eax
jmp 0x4e4b74
mov eax, dword [esp + 0x30]
sub eax, ecx
sar eax, 4
sub eax, dword [esp + 0x24]
mov dword [esp + 0x20], eax
cmp ecx, dword [esp + 0x30]
mov esi, ecx
jbe 0x4e4b8d
call fcn.0054b876
mov ecx, dword [esp + 0x2c]
cmp ecx, dword [esp + 0x30]
mov dword [esp + 0x6c], esi
mov esi, ecx
jbe 0x4e4b9e
call fcn.0054b876
mov eax, dword [esp + 0x44]
cmp eax, dword [esp + 0x48]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x14], eax
jbe 0x4e4bb5
call fcn.0054b876
push dword [esp + 0x20]
lea edi, [esp + 0xec]
push dword [esp + 0x28]
lea eax, [esp + 0x70]
call fcn.004e6cc2
lea edi, [esp + 0xf4]
call fcn.004e6cc2
mov esi, dword [eax]
mov eax, dword [eax + 4]
push dword [esp + 0x24]
mov dword [esp + 0x78], eax
lea edi, [esp + 0x60]
lea eax, [esp + 0x3c]
call fcn.004e6cc2
push dword [esp + 0x74]
push esi
push dword [eax + 4]
push dword [eax]
lea eax, [esp + 0x50]
push dword [esp + 0x24]
mov ecx, eax
push eax
push dword [esp + 0x2c]
call fcn.004e6fe6
lea eax, [esp + 0x40]
push eax
push 0xcc
lea eax, [esp + 0x18c]
push eax
push dword [0x8b6844]
call fcn.004db1bf
mov eax, dword [esp + 0x20]
add dword [esp + 0x24], eax
lea esi, [esp + 0x40]
mov byte [esp + 0x1c0], 8
call fcn.00519c69
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x4e4c62
mov eax, dword [esp + 0x30]
sub eax, ecx
sar eax, 4
cmp dword [esp + 0x24], eax
jb 0x4e4b29
sub esp, 0x20
mov esi, esp
mov dword [esp + 0x34], esp
mov eax, 0x4e5dc5
push ebx
push eax
call fcn.004e6f7d
push 0x7c43b8
push 1
push 0x1f4
add ebx, 0x1bc
push ebx
call fcn.0045c9b7
lea esi, [esp + 0x28]
call fcn.00519c69
mov al, 1
mov ecx, dword [esp + 0x1b8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1a0]
xor ecx, esp
call fcn.0054ae61
mov esp, ebp
pop ebp
ret 4