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

Disassembly:
push 0xffffffffffffffff
push 0x4f0a39
mov eax, dword fs:[0]
push eax
sub esp, 0x164
mov eax, dword [0x502c60]
xor eax, esp
mov dword [esp + 0x160], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x502c60]
xor eax, esp
push eax
lea eax, [esp + 0x178]
mov dword fs:[0], eax
mov edi, ecx
mov ebp, dword [0x504dd8]
cmp dword [ebp + 0x168], 0x10
lea eax, [ebp + 0x154]
mov dword [esp + 0x1c], ebp
jb 0x4af648
mov eax, dword [eax]
push 0x100
lea ecx, [esp + 0x78]
push ecx
push eax
mov eax, dword [ebp + 0x1f8]
call eax
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], 0
mov byte [esp + 0x5c], 0
mov dword [esp + 0x58], 0x44fa2c
mov esi, dword [edi + 4]
mov edi, dword [edi + 8]
mov dword [esp + 0x180], 0
cmp esi, edi
je 0x4afb3c
lea ebx, [ebp + 0x1a4]
add ebp, 0x16c
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebp
cmp dword [esp + 0x70], 0x10
lea eax, [esp + 0x5c]
mov dword [esp + 0x6c], 0
cmovae eax, dword [esp + 0x5c]
mov byte [eax], 0
test ebp, ebp
je 0x4af6c7
lea eax, [ebp + 4]
jmp 0x4af6c9
xor eax, eax
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x68]
call fcn.00465a90
test ebx, ebx
je 0x4af6e0
lea eax, [ebx + 4]
jmp 0x4af6e2
xor eax, eax
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x68]
call fcn.00465a90
test esi, esi
je 0x4af6f9
lea eax, [esi + 4]
jmp 0x4af6fb
xor eax, eax
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x68]
call fcn.00465a90
cmp dword [esp + 0x70], 0x10
lea ebx, [esp + 0x5c]
mov eax, dword [0x504dd8]
cmovae ebx, dword [esp + 0x5c]
push ebx
mov eax, dword [eax + 0x200]
call eax
cmp eax, 0xffffffff
je 0x4af735
shr eax, 4
test al, 1
je 0x4af9e3
cmp dword [esp + 0x70], 0x10
lea eax, [esp + 0x5c]
mov dword [esp + 0x6c], 0
cmovae eax, dword [esp + 0x5c]
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], 0
mov byte [esp + 0x40], 0
mov byte [eax], 0
cmp byte [esp + 0x74], 0
jne 0x4af76e
xor ecx, ecx
jmp 0x4af77e
lea ecx, [esp + 0x74]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4af775
sub ecx, edx
push ecx
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x48]
call fcn.0045c120
mov dword [esp + 0x3c], 0x44fa2c
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x48]
mov byte [esp + 0x188], 3
push eax
lea ecx, [esp + 0x68]
call fcn.00465a90
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4af7bc
add eax, 4
jmp 0x4af7be
xor eax, eax
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x68]
call fcn.00465a90
test esi, esi
je 0x4af7d5
lea eax, [esi + 4]
jmp 0x4af7d7
xor eax, eax
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x68]
call fcn.00465a90
cmp dword [esp + 0x54], 0x10
mov byte [esp + 0x180], 0
mov dword [esp + 0x3c], 0x44fa2c
jb 0x4af808
push dword [esp + 0x40]
call fcn.004d105d
add esp, 4
cmp dword [esp + 0x70], 0x10
lea ebx, [esp + 0x5c]
mov eax, dword [0x504dd8]
cmovae ebx, dword [esp + 0x5c]
push ebx
mov eax, dword [eax + 0x200]
call eax
cmp eax, 0xffffffff
je 0x4af834
shr eax, 4
test al, 1
je 0x4afa8e
cmp dword [esp + 0x70], 0x10
lea eax, [esp + 0x5c]
mov dword [esp + 0x6c], 0
cmovae eax, dword [esp + 0x5c]
mov byte [eax], 0
test ebp, ebp
je 0x4af856
lea eax, [ebp + 4]
jmp 0x4af858
xor eax, eax
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x68]
call fcn.00465a90
mov ebx, dword [esp + 0x1c]
add ebx, 0x188
je 0x4af877
lea eax, [ebx + 4]
jmp 0x4af879
xor eax, eax
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x68]
call fcn.00465a90
test esi, esi
je 0x4af890
lea eax, [esi + 4]
jmp 0x4af892
xor eax, eax
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x68]
call fcn.00465a90
cmp dword [esp + 0x70], 0x10
lea ebp, [esp + 0x5c]
mov eax, dword [0x504dd8]
cmovae ebp, dword [esp + 0x5c]
push ebp
mov eax, dword [eax + 0x200]
call eax
cmp eax, 0xffffffff
je 0x4af8cc
shr eax, 4
test al, 1
je 0x4afb02
cmp dword [esp + 0x70], 0x10
lea eax, [esp + 0x5c]
mov dword [esp + 0x6c], 0
cmovae eax, dword [esp + 0x5c]
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], 0
mov byte [esp + 0x24], 0
mov byte [eax], 0
cmp byte [esp + 0x74], 0
jne 0x4af905
xor ecx, ecx
jmp 0x4af919
lea ecx, [esp + 0x74]
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4af910
sub ecx, edx
push ecx
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x2c]
call fcn.0045c120
mov dword [esp + 0x20], 0x44fa2c
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x2c]
mov byte [esp + 0x188], 6
push eax
lea ecx, [esp + 0x68]
call fcn.00465a90
test ebx, ebx
je 0x4af953
lea eax, [ebx + 4]
jmp 0x4af955
xor eax, eax
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x68]
call fcn.00465a90
test esi, esi
je 0x4af96c
lea eax, [esi + 4]
jmp 0x4af96e
xor eax, eax
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x68]
call fcn.00465a90
cmp dword [esp + 0x38], 0x10
mov byte [esp + 0x180], 0
mov dword [esp + 0x20], 0x44fa2c
jb 0x4af99f
push dword [esp + 0x24]
call fcn.004d105d
add esp, 4
cmp dword [esp + 0x70], 0x10
lea ebx, [esp + 0x5c]
mov eax, dword [0x504dd8]
cmovae ebx, dword [esp + 0x5c]
push ebx
mov eax, dword [eax + 0x200]
call eax
cmp eax, 0xffffffff
je 0x4af9cb
shr eax, 4
test al, 1
je 0x4afb1f
add esi, 0x1c
cmp esi, edi
je 0x4afb3c
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
jmp 0x4af6a5
mov eax, dword [0x504ddc]
test eax, eax
jne 0x4afa1e
push 0x20
call fcn.004d100c
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x180], 1
test eax, eax
je 0x4afa0f
mov ecx, eax
call fcn.0045fd50
jmp 0x4afa11
xor eax, eax
mov byte [esp + 0x180], 0
mov dword [0x504ddc], eax
mov dword [eax], 0x19
mov eax, dword [0x504ddc]
test eax, eax
jne 0x4afb2f
push 0x20
call fcn.004d100c
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x180], 2
test eax, eax
je 0x4afa6f
mov ecx, eax
call fcn.0045fd50
push ebx
mov byte [esp + 0x184], 0
mov dword [0x504ddc], eax
lea ecx, [eax + 4]
call fcn.0049e970
mov bl, 1
jmp 0x4afb3e
xor eax, eax
push ebx
lea ecx, [eax + 4]
mov byte [esp + 0x184], 0
mov dword [0x504ddc], eax
call fcn.0049e970
mov bl, 1
jmp 0x4afb3e
mov eax, dword [0x504ddc]
test eax, eax
jne 0x4afac9
push 0x20
call fcn.004d100c
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x180], 4
test eax, eax
je 0x4afaba
mov ecx, eax
call fcn.0045fd50
jmp 0x4afabc
xor eax, eax
mov byte [esp + 0x180], 0
mov dword [0x504ddc], eax
mov dword [eax], 0x19
mov eax, dword [0x504ddc]
test eax, eax
jne 0x4afb2f
push 0x20
call fcn.004d100c
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x180], 5
test eax, eax
je 0x4afa6f
mov ecx, eax
call fcn.0045fd50
jmp 0x4afa71
call fcn.00463380
mov dword [eax], 0x19
call fcn.00463380
push ebp
lea ecx, [eax + 4]
call fcn.0049e970
mov bl, 1
jmp 0x4afb3e
call fcn.00463380
mov dword [eax], 0x19
call fcn.00463380
push ebx
lea ecx, [eax + 4]
call fcn.0049e970
mov bl, 1
jmp 0x4afb3e
xor bl, bl
cmp dword [esp + 0x70], 0x10
mov dword [esp + 0x58], 0x44fa2c
jb 0x4afb59
push dword [esp + 0x5c]
call fcn.004d105d
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x178]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x160]
xor ecx, esp
call fcn.004d17f4
add esp, 0x170
ret