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

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x194
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0xc8]
mov dword [ebp + 0x6c], esi
call fcn.00411180
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
mov cl, byte [eax + ecx]
lea edi, [esi + 4]
inc eax
mov dword [edi + 4], eax
mov al, byte [ebp + 0x7c]
test al, al
movzx edx, cl
mov dword [ebp + 0x14], edx
jne 0x4bceae
mov eax, dword [edi + 4]
mov ecx, dword [edi]
mov cl, byte [eax + ecx]
xor edx, edx
mov dh, cl
inc eax
mov dword [edi + 4], eax
or dword [ebp + 0x14], edx
mov ecx, dword [edi + 4]
mov eax, dword [edi]
add eax, ecx
add ecx, 2
mov dword [edi + 4], ecx
xor ecx, ecx
mov ch, byte [eax + 1]
mov cl, byte [eax]
mov eax, dword [ebp + 0x14]
test ah, 8
mov dword [ebp + 0x1c], esi
mov dword [ebp + 0x20], ecx
je 0x4bd09d
mov ecx, dword [esi + 0x2c]
mov dl, byte [ecx + 0x626]
test dl, dl
je 0x4bd09d
mov dword [ebp + 0x70], 0
call fcn.004b8580
mov edx, dword [esi + 0xd4]
mov ebx, dword [edx + 0x24]
mov ecx, edi
mov dword [ebp + 0x64], eax
mov dword [ebp + 0x60], ebx
call fcn.004b7e50
mov esi, dword [esi + 0x2c]
mov dword [ebp + 0x5c], eax
mov eax, dword [esi + 0x264]
mov dword [ebp + 0x68], eax
mov eax, dword [ebp - 0xcc]
and eax, 0xfffffff0
xor edi, edi
push ebx
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x120], edi
mov dword [ebp - 0xcc], eax
call fcn.005c4f70
mov ecx, dword [ebp - 0xcc]
and ecx, 0xfffffff2
lea edx, [ebp - 0x114]
or ecx, 2
push edi
push edx
mov dword [ebp - 0xcc], ecx
call fcn.005c6186
mov esi, dword [ebp + 0x60]
mov ebx, dword [esi + 0x17c4]
add esp, 8
cmp eax, edi
jne 0x4bcfc4
mov ebx, dword [ebp + 0x5c]
push ebx
mov ecx, esi
call fcn.005be777
mov edi, dword [ebp + 0x64]
push eax
mov eax, dword [ebp + 0x68]
push eax
mov ecx, edi
call fcn.0057dbb0
push ebx
mov esi, eax
call fcn.006058d0
add esp, 4
test esi, esi
je 0x4bcfad
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx + 0x18]
mov eax, dword [edx + 0x24]
push 0xffffffffffffffff
push eax
mov ecx, edi
call fcn.0057d4c0
mov ebx, eax
mov dword [ebp + 0x70], ebx
xor edi, edi
jmp 0x4bcfda
lea ecx, [ebp - 0x120]
call fcn.005c4fc0
pop edi
pop esi
pop ebx
add ebp, 0x74
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x120]
call fcn.005c4ff2
push ebx
mov ecx, esi
call fcn.005770e0
mov ebx, dword [ebp + 0x70]
lea ecx, [ebp - 0x120]
call fcn.005c4fc0
cmp ebx, edi
je 0x4bd3cb
mov eax, dword [ebp + 0x14]
test ah, 0x10
je 0x4bd092
cmp dword [ebx + 0x78], 1
jne 0x4bd3cb
push 0x84
call fcn.00446b60
mov esi, dword [ebp + 0x6c]
add esp, 4
cmp eax, edi
je 0x4bd033
mov ecx, dword [esi + 0x2c]
push 0xff
push 0xc
push 0xfff4
push ecx
mov ecx, eax
call fcn.004a6010
mov dword [ebp + 0x18], eax
jmp 0x4bd036
mov dword [ebp + 0x18], edi
push 0x24
call fcn.00446b60
mov edi, eax
add esp, 4
test edi, edi
je 0x4bd07f
push 0x50
call fcn.00446b60
add esp, 4
test eax, eax
je 0x4bd071
mov ecx, dword [esi + 0xd4]
push ebx
push ecx
mov ecx, eax
call fcn.004560a0
push 0
push 0
push eax
mov ecx, edi
call fcn.00454230
jmp 0x4bd081
xor eax, eax
push eax
push eax
push eax
mov ecx, edi
call fcn.00454230
jmp 0x4bd081
xor eax, eax
mov edx, dword [ebp + 0x18]
mov dword [edx], eax
mov eax, dword [ebp + 0x18]
or byte [eax + 0x7f], 1
jmp 0x4bd1a3
mov esi, dword [ebp + 0x6c]
mov dword [ebp + 0x18], ebx
jmp 0x4bd1a5
test ah, 0x10
mov al, byte [ebp + 0x14]
je 0x4bd16e
test al, 2
je 0x4bd19c
mov ecx, dword [edi + 4]
mov eax, dword [edi]
add eax, ecx
add ecx, 2
mov dword [edi + 4], ecx
xor ecx, ecx
mov ch, byte [eax + 1]
mov cl, byte [eax]
push ecx
mov ecx, dword [esi + 0x2c]
call fcn.004b6f30
mov edi, eax
test edi, edi
je 0x4bd3cb
cmp dword [edi + 0x78], 1
jne 0x4bd3cb
push 0x84
call fcn.00446b60
add esp, 4
test eax, eax
je 0x4bd10f
mov edx, dword [esi + 0x2c]
push 0xff
push 0xc
push 0xfff4
push edx
mov ecx, eax
call fcn.004a6010
mov dword [ebp + 0x18], eax
jmp 0x4bd116
mov dword [ebp + 0x18], 0
push 0x24
call fcn.00446b60
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4bd15e
push 0x50
call fcn.00446b60
add esp, 4
test eax, eax
je 0x4bd150
mov edx, dword [esi + 0xd4]
push edi
push edx
mov ecx, eax
call fcn.004560a0
push edi
push 0
push eax
mov ecx, ebx
call fcn.00454230
jmp 0x4bd160
xor eax, eax
push edi
push eax
push eax
mov ecx, ebx
call fcn.00454230
jmp 0x4bd160
xor eax, eax
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
mov eax, dword [ebp + 0x18]
or byte [eax + 0x7f], 1
jmp 0x4bd1a3
test al, 2
je 0x4bd19c
mov ecx, dword [edi + 4]
mov eax, dword [edi]
add eax, ecx
add ecx, 2
xor edx, edx
mov dword [edi + 4], ecx
mov dh, byte [eax + 1]
mov ecx, dword [esi + 0x2c]
mov dl, byte [eax]
push edx
call fcn.004b6f30
test eax, eax
mov dword [ebp + 0x18], eax
je 0x4bd3cb
jmp 0x4bd1a3
mov dword [ebp + 0x18], 0
xor edi, edi
test byte [ebp + 0x14], 4
je 0x4bd1bc
lea eax, [ebp - 0xc8]
push eax
lea ecx, [esi + 4]
call fcn.004b7bb0
jmp 0x4bd1dd
mov eax, dword [esi + 0x2c]
cmp eax, edi
je 0x4bd1cb
mov eax, dword [eax + 0xd4]
jmp 0x4bd1cd
xor eax, eax
push eax
lea ecx, [ebp - 0xc8]
push ecx
call fcn.00444d20
add esp, 8
test byte [ebp + 0x14], 8
je 0x4bd1f6
push 1
lea edx, [ebp - 0xac]
push edx
lea ecx, [esi + 4]
call fcn.004b7d00
jmp 0x4bd201
lea ecx, [ebp - 0xac]
call fcn.0047bca0
mov dl, byte [ebp + 0x14]
test dl, 0x10
je 0x4bd224
mov ecx, dword [esi + 8]
mov eax, dword [esi + 4]
add eax, ecx
add ecx, 2
mov dword [esi + 8], ecx
xor ecx, ecx
mov ch, byte [eax + 1]
mov cl, byte [eax]
mov word [ebp + 0x24], cx
jmp 0x4bd228
mov word [ebp + 0x24], di
test dl, 0x20
je 0x4bd26b
mov edi, dword [esi + 4]
mov ebx, dword [esi + 8]
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax + 0xd4]
add edi, ebx
push edi
lea edx, [ebp + 0x58]
push edx
call fcn.004d78f0
mov eax, dword [eax]
mov dword [ebp + 0x2c], eax
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4bd252
mov ecx, dword [esi + 8]
sub eax, edx
mov dl, byte [ebp + 0x14]
inc eax
add ecx, eax
mov dword [esi + 8], ecx
xor edi, edi
jmp 0x4bd27d
mov ecx, dword [esi + 0x2c]
mov eax, dword [ecx + 0xd4]
mov ecx, dword [eax + 0xcc0]
mov dword [ebp + 0x2c], ecx
test dl, 0x40
je 0x4bd29d
mov ecx, dword [esi + 8]
mov eax, dword [esi + 4]
add eax, ecx
add ecx, 2
mov dword [esi + 8], ecx
xor ecx, ecx
mov ch, byte [eax + 1]
mov cl, byte [eax]
mov word [ebp + 0x26], cx
jmp 0x4bd2a1
mov word [ebp + 0x26], di
mov ecx, dword [ebp + 0x14]
test ch, 1
je 0x4bd2d7
push 0xc
call fcn.00446b60
add esp, 4
cmp eax, edi
je 0x4bd2c1
mov dword [eax + 4], edi
mov dword [eax], edi
mov dword [eax + 8], edi
jmp 0x4bd2c3
xor eax, eax
lea edx, [esi + 4]
push edx
mov ecx, eax
mov dword [ebp + 0x48], eax
call fcn.00450750
mov dl, byte [ebp + 0x14]
mov ecx, dword [ebp + 0x14]
test ch, 2
je 0x4bd2ee
mov eax, dword [esi + 8]
mov ebx, dword [esi + 4]
mov bl, byte [eax + ebx]
inc eax
mov byte [ebp + 0x45], bl
mov dword [esi + 8], eax
jmp 0x4bd2f2
mov byte [ebp + 0x45], 1
test ch, 4
je 0x4bd309
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
mov cl, byte [eax + ecx]
inc eax
mov byte [ebp + 0x4c], cl
mov dword [esi + 8], eax
jmp 0x4bd30d
mov byte [ebp + 0x4c], 0
test dl, dl
jns 0x4bd341
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax + 0xb4]
mov eax, dword [ecx + 0x2c]
mov cl, byte [eax + 0x50]
test cl, cl
jne 0x4bd341
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
add ecx, eax
mov dword [ebp + 0x30], ecx
mov ecx, dword [esi + 0x14]
sub ecx, eax
mov dword [ebp + 0x34], ecx
mov ecx, dword [esi + 0x3c]
add ecx, eax
mov dword [ebp + 0x40], ecx
jmp 0x4bd347
mov dword [ebp + 0x30], edi
mov dword [ebp + 0x34], edi
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax + 0x210]
cmp ecx, edi
jne 0x4bd37c
mov eax, dword [eax + 0x54]
cmp eax, edi
je 0x4bd377
mov ecx, dword [eax + 8]
cmp ecx, edi
je 0x4bd377
call fcn.004a7580
mov dl, byte [ebp + 0x14]
xor ecx, ecx
cmp eax, 5
setle cl
dec ecx
and ecx, eax
jmp 0x4bd37c
mov ecx, 9
test dl, 1
mov dword [ebp + 0x3c], ecx
je 0x4bd399
mov eax, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
lea edx, [ebp - 0xc8]
push edx
push eax
call fcn.0048a710
jmp 0x4bd3ac
mov edx, dword [esi + 0x54]
lea ecx, [ebp - 0xc8]
push ecx
mov ecx, dword [esi + 0x50]
push edx
call fcn.0048d0f0
mov eax, dword [ebp + 0x14]
test ah, 1
je 0x4bd3cb
mov ecx, dword [ebp + 0x48]
cmp ecx, edi
mov esi, ecx
je 0x4bd3cb
call fcn.004506e0
push esi
call fcn.006058d0
add esp, 4
pop edi
pop esi
pop ebx
add ebp, 0x74
mov esp, ebp
pop ebp
ret 4