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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, ecx
mov dword [ebp - 0x1c], edx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x18], ecx
not ecx
push ebx
and ecx, 1
mov dword [ebp - 4], eax
push esi
push edi
xor esi, esi
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + 4]
xor ebx, ebx
xor edi, edi
mov dword [ebp - 0xc], esi
mov dword [ebp + 0x10], 0x400
cmp ecx, 0x28
jle 0x4b1fd2
add ecx, 7
and ecx, 0xfffffff8
mov dword [ebp - 8], ecx
jmp 0x4b1fd9
mov dword [ebp - 8], 0x28
mov ecx, dword [ebp + 8]
mov dword [edx], ebx
test ecx, ecx
je 0x4b20ce
cmp byte [ecx], bl
je 0x4b20ce
mov esi, dword [eax + 8]
inc esi
lea eax, [esi + esi]
push eax
call fcn.004a9610
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4b250c
mov eax, dword [ebp - 4]
push ebx
push esi
push dword [ebp + 8]
mov byte [ebx], 0
push eax
mov eax, dword [eax + 0x24]
call eax
add esp, 0x10
mov esi, eax
cmp byte [ebx], 0
mov edi, ebx
mov dword [ebp - 0xc], esi
je 0x4b202e
inc edi
cmp byte [edi], 0
jne 0x4b2028
sub edi, ebx
and edi, 0x3fffffff
test esi, esi
jne 0x4b204e
mov ecx, dword [ebp - 4]
lea eax, [edi + 8]
cmp eax, dword [ecx + 8]
jle 0x4b20cc
mov esi, 0xe
cmp dword [0x55acd0], 0
je 0x4b20b9
mov eax, dword [0x55d4a8]
test eax, eax
je 0x4b206a
push eax
call dword [0x55ad18]
add esp, 4
push ebx
call dword [0x55acf4]
mov ecx, dword [0x55d330]
neg eax
add ecx, eax
add esp, 4
mov eax, dword [0x55d354]
cmp ecx, eax
mov dword [0x55d330], ecx
cmovg eax, ecx
push ebx
mov dword [0x55d354], eax
call dword [0x55acec]
mov eax, dword [0x55d4a8]
add esp, 4
test eax, eax
je 0x4b20c3
push eax
call dword [0x55ad20]
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
call dword [0x55acec]
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, ecx
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 8]
add eax, 7
and eax, 0xfffffff8
add ecx, edi
lea eax, [eax + ecx*2]
add eax, 0xea
push eax
mov dword [ebp - 0x14], eax
call fcn.004a9610
mov esi, eax
add esp, 4
test esi, esi
je 0x4b2490
push dword [ebp - 0x14]
push 0
push esi
call fcn.004fd0d0
mov ecx, dword [ebp - 4]
lea edx, [esi + 0xb0]
mov dword [esi + 0xa8], edx
add esp, 0xc
add edx, 0x30
mov dword [esi + 0x38], edx
mov eax, dword [ecx + 4]
add eax, 7
and eax, 0xfffffff8
add edx, eax
mov dword [esi + 0x40], edx
add edx, dword [ebp - 8]
mov dword [esi + 0x3c], edx
add edx, dword [ebp - 8]
mov dword [esi + 0x84], edx
test ebx, ebx
je 0x4b21fc
push edi
lea eax, [edx + 1]
add eax, edi
push ebx
push edx
mov dword [esi + 0x88], eax
call fcn.004fcb50
add esp, 0xc
push edi
push ebx
push dword [esi + 0x88]
call fcn.004fcb50
mov eax, dword [esi + 0x88]
add esp, 0xc
mov dword [edi + eax], 0x756f6a2d
mov dword [edi + eax + 4], 0x6c616e72
mov eax, dword [esi + 0x84]
cmp byte [eax], 0
jne 0x4b2191
mov eax, dword [esi + 0x88]
mov byte [eax], 0
cmp dword [0x55acd0], 0
je 0x4b21f2
mov eax, dword [0x55d4a8]
test eax, eax
je 0x4b21ad
push eax
call dword [0x55ad18]
add esp, 4
push ebx
call dword [0x55acf4]
mov ecx, dword [0x55d330]
neg eax
add ecx, eax
add esp, 4
mov eax, dword [0x55d354]
cmp ecx, eax
mov dword [0x55d330], ecx
cmovg eax, ecx
push ebx
mov dword [0x55d354], eax
call dword [0x55acec]
mov eax, dword [0x55d4a8]
add esp, 4
test eax, eax
je 0x4b21fc
push eax
call dword [0x55ad20]
jmp 0x4b21f9
push ebx
call dword [0x55acec]
add esp, 4
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x14]
mov dword [esi], eax
mov dword [esi + 0x78], ecx
test edx, edx
je 0x4b22c4
cmp byte [edx], 0
je 0x4b22c4
lea edx, [ebp - 8]
mov dword [ebp - 8], 0
push edx
and ecx, 0x7f1f
push ecx
push dword [esi + 0x38]
push dword [esi + 0x84]
push eax
mov eax, dword [eax + 0x18]
call eax
mov ecx, dword [ebp - 8]
mov edi, eax
and ecx, 1
add esp, 0x14
mov dword [ebp + 8], ecx
test edi, edi
jne 0x4b22c0
test ecx, ecx
jne 0x4b22c0
cmp byte [esi + 0xb], cl
jne 0x4b2273
mov ecx, dword [esi + 0x38]
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x4b226b
push ecx
call eax
add esp, 4
jmp 0x4b2270
mov eax, 0x200
mov dword [esi + 0x70], eax
mov eax, dword [esi + 0x70]
cmp eax, 0x200
jae 0x4b2288
mov dword [esi + 0x70], 0x200
xor bl, bl
jmp 0x4b22d3
cmp eax, 0x10000
jbe 0x4b22a1
mov dword [esi + 0x70], 0x10000
xor bl, bl
mov dword [ebp + 0x10], 0x2000
jmp 0x4b22d3
cmp eax, 0x400
jbe 0x4b22c0
cmp eax, 0x2000
jbe 0x4b22ba
mov dword [ebp + 0x10], 0x2000
xor bl, bl
jmp 0x4b22d3
movzx eax, ax
mov dword [ebp + 0x10], eax
xor bl, bl
jmp 0x4b22d3
mov edi, dword [ebp - 0xc]
and ecx, 1
mov byte [esi + 0xe], 4
mov bl, 1
mov dword [ebp + 8], ecx
test edi, edi
jne 0x4b23fa
push 0xffffffffffffffff
lea edx, [ebp + 0x10]
mov ecx, esi
call fcn.004b16e0
mov edi, eax
add esp, 4
test edi, edi
jne 0x4b23fa
test byte [ebp - 0x18], 2
mov ecx, dword [esi + 0xa8]
mov edx, dword [ebp - 0x10]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x28], eax
mov dword [ecx + 0x2c], eax
movzx eax, word [ebp + 0x10]
mov dword [ecx + 0x14], eax
mov eax, dword [ebp + 8]
mov dword [ecx + 0x18], 0x50
mov dword [ecx + 0x1c], 1
mov dword [ecx + 0x20], 0x4b1e80
mov dword [ecx + 0x24], esi
mov dword [ecx + 0x10], 0x64
mov byte [esi + 6], dl
je 0x4b2348
test eax, eax
je 0x4b2348
mov cl, 1
jmp 0x4b234a
xor cl, cl
mov byte [esi + 0xc], al
mov al, bl
xor al, 1
mov byte [esi + 7], cl
mov byte [esi + 9], al
mov eax, 0x50
mov byte [esi + 0x15], 0
mov dword [esi + 0x80], 0x3fffffff
mov byte [esi + 0xb], bl
mov byte [esi + 4], bl
mov byte [esi + 0x12], bl
mov byte [esi + 0xd], 0
mov byte [esi + 8], bl
mov byte [esi + 0xa], 2
mov word [esi + 0x74], ax
mov dword [esi + 0xa0], 0xffffffff
mov dword [esi + 0xa4], 0xffffffff
test bl, bl
jne 0x4b23b9
mov ecx, dword [esi + 0x38]
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x4b23b1
push ecx
call eax
mov edx, dword [ebp - 0x10]
add esp, 4
jmp 0x4b23b6
mov eax, 0x200
mov dword [esi + 0x70], eax
mov eax, dword [esi + 0x70]
cmp eax, 0x200
jae 0x4b23cc
mov dword [esi + 0x70], 0x200
jmp 0x4b23da
cmp eax, 0x10000
jbe 0x4b23da
mov dword [esi + 0x70], 0x10000
test edx, edx
jne 0x4b23e2
mov byte [esi + 5], 2
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x94], 0x4b4670
mov dword [eax], esi
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [esi + 0x38]
mov eax, dword [ebx]
test eax, eax
je 0x4b2412
mov eax, dword [eax + 4]
push ebx
call eax
add esp, 4
mov dword [ebx], 0
cmp dword [0x55acd0], 0
je 0x4b247d
mov eax, dword [0x55d4a8]
test eax, eax
je 0x4b242e
push eax
call dword [0x55ad18]
add esp, 4
push esi
call dword [0x55acf4]
mov ecx, dword [0x55d330]
neg eax
add ecx, eax
add esp, 4
mov eax, dword [0x55d354]
cmp ecx, eax
mov dword [0x55d330], ecx
cmovg eax, ecx
push esi
mov dword [0x55d354], eax
call dword [0x55acec]
mov eax, dword [0x55d4a8]
add esp, 4
test eax, eax
je 0x4b2487
push eax
call dword [0x55ad20]
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [0x55acec]
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x4b250c
cmp dword [0x55acd0], 0
je 0x4b2502
mov eax, dword [0x55d4a8]
test eax, eax
je 0x4b24b0
push eax
call dword [0x55ad18]
add esp, 4
push ebx
call dword [0x55acf4]
mov ecx, dword [0x55d330]
neg eax
add ecx, eax
add esp, 4
mov eax, dword [0x55d354]
cmp ecx, eax
mov dword [0x55d330], ecx
cmovg eax, ecx
push ebx
mov dword [0x55d354], eax
call dword [0x55acec]
mov eax, dword [0x55d4a8]
add esp, 4
test eax, eax
je 0x4b250c
push eax
call dword [0x55ad20]
add esp, 4
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
call dword [0x55acec]
add esp, 4
pop edi
pop esi
mov eax, 7
pop ebx
mov esp, ebp
pop ebp
ret