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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x726ea9
mov eax, dword fs:[0]
push eax
sub esp, 0x168
mov eax, dword [0x820ac4]
xor eax, esp
mov dword [esp + 0x160], eax
push ebx
push esi
push edi
mov eax, dword [0x820ac4]
xor eax, esp
push eax
lea eax, [esp + 0x178]
mov dword fs:[0], eax
mov esi, edx
xor ebx, ebx
push 0x7c39d8
mov edi, ecx
mov dword [esp + 0x58], esi
mov dword [esp + 0x74], 7
mov dword [esp + 0x70], ebx
mov word [esp + 0x60], bx
call fcn.0054b1a0
add esp, 4
push eax
push 0x7c39d8
lea ecx, [esp + 0x60]
call fcn.0040186c
lea eax, [esp + 0x58]
push eax
push edi
mov dword [esp + 0x188], ebx
call fcn.004720f4
mov dword [esp + 0x180], 0xffffffff
cmp dword [esp + 0x70], 8
mov edi, eax
jb 0x4d3a0a
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.005416e5
add esp, 4
cmp edi, ebx
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], bx
jne 0x4d3b05
mov edi, 7
push 0x7c38e0
mov dword [esp + 0x90], edi
mov dword [esp + 0x8c], ebx
mov word [esp + 0x7c], bx
call fcn.0054b1a0
add esp, 4
push eax
push 0x7c38e0
lea ecx, [esp + 0x7c]
call fcn.0040186c
push 0xffffffffffffffff
mov dword [esp + 0x184], 1
push ebx
lea edx, [esp + 0x7c]
push edx
lea ecx, [esp + 0x34]
mov dword [esp + 0x30], 4
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], ebx
mov word [esp + 0x38], bx
call fcn.00401ebc
push 0xffffffffffffffff
mov byte [esp + 0x184], 2
mov eax, dword [esp + 0x28]
push ebx
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esi + 4]
mov dword [esi], eax
call fcn.00401ebc
mov esi, 8
cmp dword [esp + 0x40], esi
jb 0x4d3abe
mov edx, dword [esp + 0x2c]
push edx
call fcn.005416e5
add esp, 4
cmp dword [esp + 0x8c], esi
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], bx
jb 0x4d3ae1
mov eax, dword [esp + 0x78]
push eax
call fcn.005416e5
add esp, 4
mov ecx, dword [esp + 0x178]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x160]
xor ecx, esp
call fcn.0054ae61
mov esp, ebp
pop ebp
ret
mov esi, dword [edi + 0x4c]
add edi, 0x48
cmp esi, dword [edi + 8]
mov dword [esp + 0x18], edi
jbe 0x4d3b19
call fcn.0054b876
mov dword [esp + 0x20], esi
lea ecx, [ecx]
mov eax, dword [edi + 8]
cmp dword [edi + 4], eax
mov dword [esp + 0x14], eax
jbe 0x4d3b31
call fcn.0054b876
cmp edi, edi
je 0x4d3b3a
call fcn.0054b876
cmp esi, dword [esp + 0x14]
je 0x4d3ae1
push 0x14
lea ecx, [esp + 0x130]
push ebx
push ecx
mov dword [esp + 0x12c], ebx
mov dword [esp + 0x130], ebx
mov dword [esp + 0x134], ebx
call fcn.0054b920
add esp, 0xc
mov dword [esp + 0x144], ebx
mov dword [esp + 0x148], ebx
mov dword [esp + 0x164], 0xf
mov dword [esp + 0x160], ebx
mov byte [esp + 0x150], bl
push 0x1c
lea edx, [esp + 0x94]
push ebx
push edx
mov dword [esp + 0x18c], 3
call fcn.0054b920
add esp, 0xc
push 0x7c2c94
mov dword [esp + 0x90], 7
mov dword [esp + 0x8c], ebx
mov word [esp + 0x7c], bx
call fcn.0054b1a0
add esp, 4
push eax
push 0x7c2c94
lea ecx, [esp + 0x7c]
call fcn.0040186c
mov byte [esp + 0x180], 4
cmp esi, dword [edi + 8]
jb 0x4d3bf2
call fcn.0054b876
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
push ecx
lea esi, [esp + 0x94]
lea ecx, [esp + 0x78]
call fcn.004d52d0
mov byte [esp + 0x180], 3
cmp dword [esp + 0x8c], 8
jb 0x4d3c28
mov edx, dword [esp + 0x78]
push edx
call fcn.005416e5
add esp, 4
push 0x1c
lea eax, [esp + 0x78]
push ebx
push eax
call fcn.0054b920
add esp, 0xc
lea eax, [esp + 0x74]
lea ecx, [esp + 0x90]
call fcn.004d4670
test al, al
je 0x4d3c69
lea ecx, [esp + 0x11c]
push ecx
mov dword [esp + 0x184], 0xffffffff
call fcn.004d3850
jmp 0x4d42b5
lea edx, [esp + 0x144]
push edx
lea ecx, [esp + 0x130]
lea edi, [esp + 0x94]
call fcn.004d0e40
push 0x7c3884
mov dword [esp + 0x90], 7
mov dword [esp + 0x8c], ebx
mov word [esp + 0x7c], bx
call fcn.0054b1a0
add esp, 4
push eax
push 0x7c3884
lea ecx, [esp + 0x7c]
call fcn.0040186c
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x18]
mov byte [esp + 0x180], 5
cmp esi, dword [edi + 8]
jb 0x4d3cd1
call fcn.0054b876
mov ecx, dword [esi]
lea eax, [esp + 0x14c]
push eax
push ecx
lea ecx, [esp + 0x7c]
call fcn.00471dec
mov byte [esp + 0x180], 3
cmp dword [esp + 0x8c], 8
jb 0x4d3d04
mov edx, dword [esp + 0x78]
push edx
call fcn.005416e5
add esp, 4
push 0x7c395c
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], bx
call fcn.0054b1a0
add esp, 4
push eax
push 0x7c395c
lea ecx, [esp + 0x2c]
call fcn.0040186c
mov byte [esp + 0x180], 6
cmp esi, dword [edi + 8]
jb 0x4d3d43
call fcn.0054b876
mov esi, dword [esi]
lea eax, [esp + 0x24]
push eax
push esi
call fcn.004720f4
mov byte [esp + 0x180], 3
cmp dword [esp + 0x3c], 8
mov esi, eax
jb 0x4d3d6e
mov ecx, dword [esp + 0x28]
push ecx
call fcn.005416e5
add esp, 4
cmp esi, ebx
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], bx
jne 0x4d3d90
lea edx, [esp + 0x11c]
push edx
jmp 0x4d42a1
lea eax, [esi + 0x48]
mov esi, dword [eax + 4]
cmp esi, dword [eax + 8]
mov dword [esp + 0x14], eax
jbe 0x4d3da4
call fcn.0054b876
mov dword [esp + 0x48], esi
mov edi, dword [esp + 0x14]
mov eax, dword [edi + 8]
cmp dword [edi + 4], eax
mov dword [esp + 0x4c], eax
jbe 0x4d3dbd
call fcn.0054b876
cmp edi, edi
je 0x4d3dc6
call fcn.0054b876
cmp esi, dword [esp + 0x4c]
je 0x4d4252
mov eax, 0xf
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc0], ebx
mov byte [esp + 0xb0], bl
mov dword [esp + 0xe0], eax
mov dword [esp + 0xdc], ebx
mov byte [esp + 0xcc], bl
mov dword [esp + 0xfc], eax
mov dword [esp + 0xf8], ebx
mov byte [esp + 0xe8], bl
mov dword [esp + 0x118], eax
mov dword [esp + 0x114], ebx
mov byte [esp + 0x104], bl
cmp esi, dword [edi + 8]
jb 0x4d3e33
call fcn.0054b876
mov eax, dword [esi]
mov dword [esp + 0x8c], 7
mov dword [esp + 0x88], ebx
mov word [esp + 0x78], bx
lea edi, [eax + 0x1c]
lea eax, [esp + 0x90]
push eax
call fcn.0044ea15
add esp, 4
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x80]
mov byte [esp + 0x18c], 9
call fcn.00401ebc
mov byte [esp + 0x180], 8
cmp dword [esp + 0xa8], 8
jb 0x4d3e99
mov ecx, dword [esp + 0x94]
push ecx
call fcn.005416e5
add esp, 4
lea edx, [esp + 0xac]
push edx
lea ecx, [esp + 0x78]
call fcn.004647c3
mov byte [esp + 0x180], 7
cmp dword [esp + 0x8c], 8
jb 0x4d3ec9
mov eax, dword [esp + 0x78]
push eax
call fcn.005416e5
add esp, 4
push 0x7c3884
mov dword [esp + 0x90], 7
mov dword [esp + 0x8c], ebx
mov word [esp + 0x7c], bx
call fcn.0054b1a0
add esp, 4
push eax
push 0x7c3884
lea ecx, [esp + 0x7c]
call fcn.0040186c
mov edi, dword [esp + 0x14]
mov byte [esp + 0x180], 0xa
cmp esi, dword [edi + 8]
jb 0x4d3f12
call fcn.0054b876
mov edx, dword [esi]
lea ecx, [esp + 0xc8]
push ecx
push edx
lea ecx, [esp + 0x7c]
call fcn.00471dec
mov byte [esp + 0x180], 7
cmp dword [esp + 0x8c], 8
jb 0x4d3f45
mov eax, dword [esp + 0x78]
push eax
call fcn.005416e5
add esp, 4
push 0x7c3878
mov dword [esp + 0xac], 7
mov dword [esp + 0xa8], ebx
mov word [esp + 0x98], bx
call fcn.0054b1a0
add esp, 4
push eax
push 0x7c3878
lea ecx, [esp + 0x98]
call fcn.0040186c
cmp esi, dword [edi + 8]
jb 0x4d3f88
call fcn.0054b876
mov esi, dword [esi]
mov dword [esp + 0x8c], 7
mov dword [esp + 0x88], ebx
mov word [esp + 0x78], bx
lea ecx, [esp + 0x74]
push ecx
push esi
lea ecx, [esp + 0x98]
mov byte [esp + 0x188], 0xc
call fcn.00471eab
test al, al
je 0x4d3fd5
lea edx, [esp + 0xe4]
push edx
lea ecx, [esp + 0x78]
call fcn.004647c3
jmp 0x4d4092
mov edx, dword [esp + 0xfc]
cmp edx, 0x10
mov ecx, dword [esp + 0xe8]
mov eax, ecx
jae 0x4d3ff1
lea eax, [esp + 0xe8]
mov esi, dword [esp + 0xf8]
lea edi, [eax + esi]
cmp edi, ebx
je 0x4d4025
cmp edx, 0x10
mov eax, ecx
jae 0x4d400d
lea eax, [esp + 0xe8]
cmp eax, edi
ja 0x4d4025
cmp edx, 0x10
mov eax, ecx
jae 0x4d401f
lea eax, [esp + 0xe8]
add eax, esi
cmp edi, eax
jbe 0x4d4038
call fcn.0054b876
mov edx, dword [esp + 0xfc]
mov ecx, dword [esp + 0xe8]
cmp edx, 0x10
jb 0x4d4246
cmp ecx, ebx
mov esi, ecx
je 0x4d4074
cmp edx, 0x10
mov eax, ecx
jae 0x4d4055
lea eax, [esp + 0xe8]
cmp eax, esi
ja 0x4d4074
cmp edx, 0x10
mov eax, ecx
jae 0x4d4067
lea eax, [esp + 0xe8]
mov ecx, dword [esp + 0xf8]
add eax, ecx
cmp esi, eax
jbe 0x4d4079
call fcn.0054b876
lea eax, [esp + 0xe4]
push edi
mov ecx, eax
push ecx
push esi
push eax
lea edx, [esp + 0x5c]
push edx
mov esi, eax
call fcn.00421ac3
cmp dword [esp + 0x8c], 8
jb 0x4d40a9
mov eax, dword [esp + 0x78]
push eax
call fcn.005416e5
add esp, 4
mov esi, 8
mov byte [esp + 0x180], 7
cmp dword [esp + 0xa8], esi
jb 0x4d40cf
mov ecx, dword [esp + 0x94]
push ecx
call fcn.005416e5
add esp, 4
push 0x7c399c
mov dword [esp + 0xac], 7
mov dword [esp + 0xa8], ebx
mov word [esp + 0x98], bx
call fcn.0054b1a0
add esp, 4
push eax
push 0x7c399c
lea ecx, [esp + 0x98]
call fcn.0040186c
mov edi, dword [esp + 0x48]
mov edx, dword [esp + 0x14]
mov byte [esp + 0x180], 0xd
cmp edi, dword [edx + 8]
jb 0x4d4122
call fcn.0054b876
mov ecx, dword [edi]
lea eax, [esp + 0x100]
push eax
push ecx
lea ecx, [esp + 0x98]
call fcn.00471dec
mov byte [esp + 0x180], 7
cmp dword [esp + 0xa8], esi
jb 0x4d415a
mov edx, dword [esp + 0x94]
push edx
call fcn.005416e5
add esp, 4
lea eax, [esp + 0xac]
push eax
lea esi, [esp + 0x120]
call fcn.004d42e0
mov esi, 0x10
mov byte [esp + 0x180], 3
cmp dword [esp + 0x118], esi
jb 0x4d4194
mov ecx, dword [esp + 0x104]
push ecx
call fcn.005416e5
add esp, 4
cmp dword [esp + 0xfc], esi
mov dword [esp + 0x118], 0xf
mov dword [esp + 0x114], ebx
mov byte [esp + 0x104], bl
jb 0x4d41c6
mov edx, dword [esp + 0xe8]
push edx
call fcn.005416e5
add esp, 4
cmp dword [esp + 0xe0], esi
mov dword [esp + 0xfc], 0xf
mov dword [esp + 0xf8], ebx
mov byte [esp + 0xe8], bl
jb 0x4d41f8
mov eax, dword [esp + 0xcc]
push eax
call fcn.005416e5
add esp, 4
cmp dword [esp + 0xc4], esi
mov dword [esp + 0xe0], 0xf
mov dword [esp + 0xdc], ebx
mov byte [esp + 0xcc], bl
jb 0x4d422a
mov ecx, dword [esp + 0xb0]
push ecx
call fcn.005416e5
add esp, 4
mov edx, dword [esp + 0x14]
cmp edi, dword [edx + 8]
jb 0x4d4238
call fcn.0054b876
add edi, 4
mov dword [esp + 0x48], edi
mov esi, edi
jmp 0x4d3da8
lea esi, [esp + 0xe8]
jmp 0x4d4047
mov eax, dword [esp + 0x120]
cmp eax, ebx
je 0x4d427b
mov ecx, dword [esp + 0x124]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x4d4285
lea ecx, [esp + 0x11c]
push ecx
jmp 0x4d42a1
mov esi, dword [esp + 0x54]
lea edx, [esp + 0x11c]
push edx
add esi, 0x28
call fcn.004d4380
lea eax, [esp + 0x11c]
push eax
mov dword [esp + 0x184], 0xffffffff
call fcn.004d3850
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
cmp ecx, dword [edi + 8]
jb 0x4d42c3
call fcn.0054b876
add dword [esp + 0x20], 4
mov esi, dword [esp + 0x20]
jmp 0x4d3b20