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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4f9b41
push eax
mov dword fs:[0], esp
sub esp, 0x80
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x324]
test eax, eax
je 0x4b9dfa
mov eax, dword [edi + 0x1fc]
test eax, eax
je 0x4b9dfa
mov eax, dword [edi + 0x1f8]
test eax, eax
je 0x4b9dfa
mov ebx, dword [esp + 0x9c]
test ebx, ebx
je 0x4b9dfa
mov esi, dword [esp + 0xa0]
test esi, esi
je 0x4b9dfa
mov al, byte [ebx]
and al, 0xf
cmp al, 1
je 0x4b9dfa
mov cl, byte [esi]
and cl, 0xf
cmp cl, 1
je 0x4b9dfa
mov eax, dword [esi + 0x14]
cmp eax, dword [ebx + 0x14]
push ebp
jne 0x4b97ad
mov ecx, ebx
call fcn.004841f0
mov ecx, esi
mov ebp, eax
mov dword [esp + 0x38], edx
call fcn.004841f0
cmp eax, ebp
jne 0x4b97ad
cmp edx, dword [esp + 0x38]
jne 0x4b97ad
mov eax, dword [esi + 0x10]
cmp eax, dword [ebx + 0x10]
jne 0x4b97ad
mov eax, dword [esi + 0xc]
cmp eax, dword [ebx + 0xc]
je 0x4b9b05
mov ecx, dword [ebx + 4]
mov eax, ecx
test eax, eax
jbe 0x4b97bb
mov eax, dword [ebx + 8]
jmp 0x4b97bd
xor eax, eax
push ecx
push eax
lea ecx, [esp + 0x30]
call fcn.00407e30
mov ecx, dword [esi + 4]
mov eax, ecx
test eax, eax
mov dword [esp + 0x98], 0
jbe 0x4b97e1
mov eax, dword [esi + 8]
jmp 0x4b97e3
xor eax, eax
push ecx
push eax
lea ecx, [esp + 0x2c]
call fcn.00407e30
mov ebp, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
push ebp
push edx
mov byte [esp + 0xa0], 1
call fcn.004cf271
add esp, 8
test eax, eax
jne 0x4b9dbb
lea ecx, [esp + 0x10]
call fcn.004016c0
lea ecx, [esp + 0x14]
call fcn.004016c0
lea ecx, [esp + 0x1c]
call fcn.004016c0
lea ecx, [esp + 0x18]
call fcn.004016c0
lea ecx, [esp + 0x20]
call fcn.004016c0
mov eax, dword [edi + 0x208]
push ebp
push eax
lea ecx, [esp + 0x18]
push 0x50193c
push ecx
mov byte [esp + 0xa8], 6
call fcn.00401c40
mov edx, dword [edi + 0x20c]
push ebp
push edx
lea eax, [esp + 0x2c]
push 0x50193c
push eax
call fcn.00401c40
mov eax, dword [esi + 0x14]
mov ecx, dword [edi + 0x208]
push eax
push ebp
push ecx
lea edx, [esp + 0x48]
push str._s_s._08x.nm_
push edx
call fcn.00401c40
mov eax, dword [esi + 0x14]
push eax
mov eax, dword [edi + 0x20c]
push ebp
push eax
lea ecx, [esp + 0x58]
push str._s_s._08x.nm_
push ecx
call fcn.00401c40
mov eax, dword [esi + 0x14]
mov edx, dword [edi + 0x20c]
add esp, 0x48
push eax
push ebp
push edx
lea eax, [esp + 0x2c]
push str._s_s._08x.nm
push eax
call fcn.00401c40
mov ecx, dword [edi + 0x1fc]
mov eax, dword [ecx + 4]
mov edx, dword [edi + 0x1f8]
mov ebp, dword [edx + 4]
add esp, 0x14
push eax
mov ecx, ebx
call fcn.004841f0
push edx
push eax
call fcn.004bea60
add esp, 0xc
push ebp
mov ecx, esi
mov dword [esp + 0x34], eax
call fcn.004841f0
push edx
push eax
call fcn.004bea60
xor ebp, ebp
mov dword [esp + 0x38], eax
mov byte [esp + 0x7c], 0
mov dword [esp + 0x80], ebp
mov dword [esp + 0x84], ebp
mov dword [esp + 0x88], ebp
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x90], ebp
mov dword [esp + 0x94], ebp
mov dword [esp + 0x98], ebp
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x20]
push ecx
mov byte [esp + 0xac], 7
call fcn.004c0230
add esp, 0x14
mov ecx, ebx
call fcn.004841f0
lea ecx, [esp + 0x70]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], edx
call fcn.004841f0
cmp eax, dword [esp + 0x34]
jne 0x4b9dea
cmp edx, dword [esp + 0x38]
jne 0x4b9dea
mov eax, dword [ebx + 0x10]
cmp dword [esp + 0x80], eax
jne 0x4b9dea
mov eax, dword [ebx + 0xc]
cmp dword [esp + 0x7c], eax
jne 0x4b9dea
push 0xa
lea ecx, [esp + 0x58]
call fcn.0047fa30
mov eax, dword [esp + 0x30]
test eax, eax
mov byte [esp + 0x98], 8
jbe 0x4b9a0f
jmp 0x4b99c0
cmp ebp, dword [esp + 0x2c]
jae 0x4b9a0f
mov eax, dword [ebx + 0x1c]
mov ecx, dword [edi + 0x1fc]
add eax, ebp
push eax
add ecx, 0x10
call fcn.004b6750
mov ecx, dword [edi + 0x1f8]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x1c]
add eax, ebp
push eax
add ecx, 0x10
call fcn.004b6750
mov edx, dword [esp + 0x34]
mov ecx, dword [edx]
cmp ecx, dword [eax]
jne 0x4b9a06
push ebp
lea ecx, [esp + 0x58]
call fcn.0047fd80
mov eax, dword [esp + 0x30]
inc ebp
cmp ebp, eax
jb 0x4b99c0
mov ecx, ebx
call fcn.004841f0
mov ecx, esi
mov ebp, eax
mov dword [esp + 0x38], edx
call fcn.004841f0
cmp ebp, eax
jne 0x4b9b0f
cmp dword [esp + 0x38], edx
jne 0x4b9b0f
mov eax, dword [ebx + 0x14]
cmp eax, dword [esi + 0x14]
jne 0x4b9b0f
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x60], eax
jne 0x4b9b0f
mov ebp, dword [esp + 0x2c]
cmp eax, ebp
jne 0x4b9b13
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
push eax
push ecx
lea eax, [esp + 0x18]
push eax
push 0
call fcn.004c0310
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.00403800
add esp, 0x18
test al, al
je 0x4b9a9c
mov eax, dword [esi + 0xc]
mov esi, dword [esi + 0x10]
push eax
push esi
lea eax, [esp + 0x1c]
push eax
push 0
call fcn.004c0310
add esp, 0x10
lea ecx, [esp + 0x54]
mov byte [esp + 0x98], 7
call fcn.0047f910
mov eax, dword [esp + 0x78]
test eax, eax
mov byte [esp + 0x98], 6
je 0x4b9ac6
push eax
call fcn.004df1b9
add esp, 4
lea ecx, [esp + 0x20]
call fcn.00401580
lea ecx, [esp + 0x18]
call fcn.00401580
lea ecx, [esp + 0x1c]
call fcn.00401580
lea ecx, [esp + 0x14]
call fcn.00401580
lea ecx, [esp + 0x10]
call fcn.00401580
lea ecx, [esp + 0x24]
call fcn.00401580
lea ecx, [esp + 0x28]
call fcn.00401580
mov eax, 1
jmp 0x4b9dcf
mov ebp, dword [esp + 0x2c]
cmp ebp, 0x80
jae 0x4b9b5d
mov ecx, ebx
call fcn.004841f0
mov ecx, esi
mov ebp, eax
mov dword [esp + 0x38], edx
call fcn.004841f0
cmp eax, ebp
jne 0x4b9d64
cmp edx, dword [esp + 0x38]
jne 0x4b9d64
mov eax, dword [esi + 0x10]
cmp eax, dword [ebx + 0x10]
jne 0x4b9d64
mov eax, dword [esi + 0xc]
cmp eax, dword [ebx + 0xc]
jne 0x4b9d64
mov ebp, dword [esp + 0x2c]
lea ecx, [esp + 0x44]
call fcn.00477f70
mov eax, dword [edi + 0x334]
test eax, eax
mov byte [esp + 0x98], 9
lea edx, [esp + 0x10]
lea ecx, [esp + 0x1c]
je 0x4b9bc2
push 1
push ecx
push edx
call fcn.0047a280
mov edi, eax
add esp, 0xc
test edi, edi
je 0x4b9d53
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.00403800
add esp, 8
test al, al
je 0x4b9c00
push 1
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.0047a280
add esp, 0xc
jmp 0x4b9bfe
push ecx
push edx
call fcn.0047a370
mov edi, eax
add esp, 8
test edi, edi
je 0x4b9d53
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.00403800
add esp, 8
test al, al
je 0x4b9c00
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x18]
push eax
call fcn.0047a370
add esp, 8
mov edi, eax
test edi, edi
je 0x4b9d53
lea ecx, [esp + 0x34]
call fcn.00477f70
mov ecx, ebx
mov byte [esp + 0x98], 0xa
call fcn.004841f0
mov ecx, esi
mov edi, eax
mov ebx, edx
call fcn.004841f0
cmp eax, edi
jne 0x4b9c33
cmp edx, ebx
je 0x4b9cab
mov ecx, dword [esp + 0x1c]
push 0
push 2
push ecx
lea ecx, [esp + 0x40]
call fcn.00479bb0
test eax, eax
je 0x4b9c64
mov ecx, esi
call fcn.004841f0
push edx
push eax
lea ecx, [esp + 0x3c]
call fcn.004e435a
lea ecx, [esp + 0x34]
call fcn.004e4432
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push eax
call fcn.00403800
add esp, 8
test al, al
je 0x4b9cab
mov ecx, dword [esp + 0x18]
push 0
push 2
push ecx
lea ecx, [esp + 0x40]
call fcn.00479bb0
test eax, eax
je 0x4b9cab
mov ecx, esi
call fcn.004841f0
push edx
push eax
lea ecx, [esp + 0x3c]
call fcn.004e435a
lea ecx, [esp + 0x34]
call fcn.004e4432
mov edx, dword [esp + 0x20]
push 0
push 0x1002
push edx
lea ecx, [esp + 0x40]
call fcn.00479bb0
test eax, eax
je 0x4b9d42
push ebp
call fcn.004df1be
mov esi, eax
mov ecx, ebp
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
add esp, 4
mov ecx, edx
and ecx, 3
push 0
rep stosb byte es:[edi], al
push ebp
lea ecx, [esp + 0x3c]
call fcn.004e435a
mov eax, dword [esp + 0x34]
push 0
push 0
push 0
lea ecx, [esp + 0x40]
call dword [eax + 0x28]
mov eax, dword [esp + 0x60]
test eax, eax
je 0x4b9d25
jmp 0x4b9d10
lea ecx, [esp + 0x54]
call fcn.004b6c70
mov byte [eax + esi], 0x31
mov eax, dword [esp + 0x60]
test eax, eax
jne 0x4b9d10
push ebp
push esi
lea ecx, [esp + 0x3c]
call fcn.004e41e7
lea ecx, [esp + 0x34]
call fcn.004e4432
push esi
call fcn.004df1b9
add esp, 4
lea ecx, [esp + 0x34]
mov byte [esp + 0x98], 9
call fcn.00477f90
lea ecx, [esp + 0x44]
mov byte [esp + 0x98], 8
call fcn.00477f90
lea ecx, [esp + 0x54]
mov byte [esp + 0x98], 7
call fcn.0047f910
mov eax, dword [esp + 0x78]
mov byte [esp + 0x98], 6
test eax, eax
je 0x4b9d8e
push eax
call fcn.004df1b9
add esp, 4
lea ecx, [esp + 0x20]
call fcn.00401580
lea ecx, [esp + 0x18]
call fcn.00401580
lea ecx, [esp + 0x1c]
call fcn.00401580
lea ecx, [esp + 0x14]
call fcn.00401580
lea ecx, [esp + 0x10]
call fcn.00401580
lea ecx, [esp + 0x24]
call fcn.00401580
lea ecx, [esp + 0x28]
call fcn.00401580
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x8c
ret 8
mov eax, dword [esp + 0x78]
mov byte [esp + 0x98], 6
cmp eax, ebp
jmp 0x4b9d83
xor eax, eax
jmp 0x4b9dd0