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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x78a38e
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
push ebx
push esi
push edi
mov eax, dword [0x856918]
xor eax, esp
push eax
lea eax, [esp + 0xe0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0
jne 0x4fd273
xor al, al
mov ecx, dword [esp + 0xe0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 0x10]
mov dword [esp + 0x20], eax
cmp dword [esi + 0xc], eax
jbe 0x4fd287
call fcn.00565471
mov edi, dword [esi + 0xc]
mov ebx, dword [esi]
cmp edi, dword [esi + 0x10]
jbe 0x4fd296
call fcn.00565471
mov ecx, dword [esp + 0x20]
mov eax, dword [esi]
push ecx
push ebx
push edi
push eax
lea edx, [esp + 0x3c]
push edx
mov ecx, esi
call fcn.00401c49
mov edi, dword [ebp + 0x10]
mov esi, dword [edi + 0x10]
cmp dword [edi + 0xc], esi
jbe 0x4fd2bc
call fcn.00565471
mov ebx, dword [edi + 0xc]
mov eax, dword [edi]
mov dword [esp + 0x18], eax
cmp ebx, dword [edi + 0x10]
jbe 0x4fd2cf
call fcn.00565471
mov ecx, dword [esp + 0x18]
mov eax, dword [edi]
push esi
push ecx
push ebx
push eax
lea edx, [esp + 0x3c]
push edx
mov ecx, edi
call fcn.00401c49
mov eax, dword [ebp + 0x14]
mov esi, dword [eax + 0x10]
cmp dword [eax + 0xc], esi
jbe 0x4fd2f5
call fcn.00565471
mov eax, dword [ebp + 0x14]
mov edi, dword [eax + 0xc]
mov ebx, dword [eax]
cmp edi, dword [eax + 0x10]
jbe 0x4fd307
call fcn.00565471
mov ecx, dword [ebp + 0x14]
mov eax, dword [ecx]
push esi
push ebx
push edi
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.00401c49
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x40], esp
xor esi, esi
push esi
mov edi, 0xf
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], esi
push 0x7bb8f6
mov byte [ecx + 4], 0
call fcn.00405920
mov ecx, dword [ebp + 8]
push ecx
mov dword [esp + 0x108], esi
call fcn.00408a76
mov ecx, eax
mov dword [esp + 0x108], 0xffffffff
call fcn.004062a3
mov dword [esp + 0x20], eax
cmp eax, esi
je 0x4fd25b
push 0x7bbf98
lea ecx, [esp + 0x78]
xor bl, bl
call fcn.00403706
sub esp, 0x1c
mov ecx, esp
mov dword [ecx + 0x18], edi
mov dword [esp + 0x40], esp
xor edi, edi
push edi
mov dword [ecx + 0x14], edi
push 0x7bb8f7
mov dword [esp + 0x10c], 1
mov byte [ecx + 4], 0
call fcn.00405920
lea edx, [esp + 0x90]
push edx
mov byte [esp + 0x108], 2
call fcn.00408a76
mov ecx, eax
mov byte [esp + 0x108], 1
call fcn.00404b4c
cmp dword [esp + 0x8c], 8
mov esi, eax
mov dword [esp + 0x28], esi
mov dword [esp + 0xe8], 0xffffffff
jb 0x4fd3f4
mov eax, dword [esp + 0x78]
push eax
call fcn.00564155
add esp, 4
xor ecx, ecx
mov dword [esp + 0x8c], 7
mov dword [esp + 0x88], edi
mov word [esp + 0x78], cx
cmp esi, edi
je 0x4fd843
mov esi, dword [ebp + 8]
lea edx, [esp + 0xc0]
push esi
push edx
call fcn.00407a09
add esp, 8
mov ecx, dword [esp + 0x28]
push eax
mov dword [esp + 0xec], 3
call fcn.00506070
mov edi, eax
lea ecx, [esp + 0xc0]
mov dword [esp + 0x24], edi
mov dword [esp + 0xe8], 0xffffffff
call fcn.00403a26
test edi, edi
je 0x4fd838
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
lea edx, [esp + 0x34]
push edx
call eax
mov edx, dword [edi]
mov edx, dword [edx + 0x30]
lea eax, [esp + 0x90]
push eax
mov ecx, edi
mov dword [esp + 0xec], 4
call edx
push 3
mov byte [esp + 0xec], 5
call fcn.00408a76
mov ecx, eax
call fcn.00406fa5
push eax
push esi
call fcn.00407955
add esp, 8
test al, al
je 0x4fd664
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x7bb91e
call fcn.004062df
push 9
mov byte [esp + 0x108], 6
call fcn.00408a76
mov ecx, eax
mov byte [esp + 0x108], 5
call fcn.004033e1
mov edi, eax
test edi, edi
je 0x4fd591
mov eax, dword [edi]
mov edx, dword [eax + 0x30]
lea ecx, [esp + 0x54]
push ecx
mov ecx, edi
call edx
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax]
mov eax, dword [esp + 0x54]
mov byte [esp + 0xe8], 7
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
lea ebx, [ebx]
mov esi, dword [esp + 0x6c]
test eax, eax
je 0x4fd52e
cmp eax, dword [esp + 0x54]
je 0x4fd533
call fcn.00565471
cmp dword [esp + 0x14], esi
je 0x4fd575
lea ecx, [esp + 0x10]
call fcn.00405236
mov esi, eax
lea ecx, [esp + 0x10]
add esi, 0x1c
call fcn.00405236
push eax
lea ecx, [esp + 0x38]
call fcn.00403891
push 0xffffffffffffffff
push 0
push esi
mov ecx, eax
call fcn.00406f1e
lea ecx, [esp + 0x10]
call fcn.00403828
mov eax, dword [esp + 0x10]
jmp 0x4fd520
mov edx, dword [edi + 8]
mov eax, dword [edx + 4]
lea ecx, [edi + 8]
call eax
lea ecx, [esp + 0x54]
mov byte [esp + 0xe8], 5
call fcn.004040b6
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x7bb91f
call fcn.004062df
push 0xa
mov byte [esp + 0x108], 8
call fcn.00408a76
mov ecx, eax
mov byte [esp + 0x108], 5
call fcn.004033e1
mov dword [esp + 0x10], eax
test eax, eax
je 0x4fd664
mov edx, dword [eax]
mov edx, dword [edx + 0x30]
lea ecx, [esp + 0x54]
push ecx
mov ecx, eax
call edx
mov eax, dword [esp + 0x6c]
mov edi, dword [eax]
mov esi, dword [esp + 0x54]
mov byte [esp + 0xe8], 9
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], esi
mov ebx, dword [esp + 0x6c]
test esi, esi
je 0x4fd604
cmp esi, dword [esp + 0x54]
je 0x4fd609
call fcn.00565471
cmp edi, ebx
je 0x4fd644
test esi, esi
jne 0x4fd640
call fcn.00565471
cmp edi, dword [esi + 0x18]
jne 0x4fd620
call fcn.00565471
add edi, 0xc
push edi
lea ecx, [esp + 0x38]
call fcn.00407464
lea ecx, [esp + 0x18]
call fcn.00403828
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
jmp 0x4fd5f6
mov esi, dword [esi]
jmp 0x4fd616
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 4]
add ecx, 8
call eax
lea ecx, [esp + 0x54]
mov byte [esp + 0xe8], 5
call fcn.004040b6
mov ecx, dword [esp + 0x4c]
mov eax, dword [ecx]
mov esi, dword [esp + 0x34]
mov edi, eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
mov ebx, dword [esp + 0x4c]
test esi, esi
je 0x4fd686
cmp esi, dword [esp + 0x34]
je 0x4fd68b
call fcn.00565471
cmp edi, ebx
je 0x4fd6c5
test esi, esi
jne 0x4fd6c1
call fcn.00565471
cmp edi, dword [esi + 0x18]
jne 0x4fd6a2
call fcn.00565471
mov ecx, dword [ebp + 0x14]
add edi, 0xc
push edi
call fcn.004037bf
lea ecx, [esp + 0x10]
call fcn.00403828
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
jmp 0x4fd678
mov esi, dword [esi]
jmp 0x4fd698
mov edx, dword [esp + 0xa8]
mov edi, dword [edx]
mov esi, dword [esp + 0x90]
mov ebx, dword [esp + 0xa8]
test esi, esi
je 0x4fd6e9
cmp esi, dword [esp + 0x90]
je 0x4fd6ee
call fcn.00565471
cmp edi, ebx
je 0x4fd7a0
test esi, esi
jne 0x4fd757
call fcn.00565471
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x4fd70b
call fcn.00565471
lea eax, [edi + 0xc]
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x3c]
call fcn.00405bd2
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x30], ecx
test ebx, ebx
je 0x4fd733
cmp ebx, dword [esp + 0x34]
je 0x4fd738
call fcn.00565471
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x30]
je 0x4fd75b
push eax
push ebx
lea edx, [esp + 0xb8]
push edx
lea ecx, [esp + 0x40]
call fcn.004030c1
jmp 0x4fd77c
mov eax, dword [esi]
jmp 0x4fd701
test esi, esi
jne 0x4fd79c
call fcn.00565471
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x4fd770
call fcn.00565471
mov ecx, dword [ebp + 0x10]
lea eax, [edi + 0xc]
push eax
call fcn.004037bf
push edi
push esi
lea eax, [esp + 0xc0]
push eax
lea ecx, [esp + 0x9c]
call fcn.004030c1
mov esi, dword [eax]
mov edi, dword [eax + 4]
jmp 0x4fd6d5
mov eax, dword [esi]
jmp 0x4fd766
mov ecx, dword [esp + 0x4c]
mov edi, dword [ecx]
mov esi, dword [esp + 0x34]
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
mov ebx, dword [esp + 0x4c]
test esi, esi
je 0x4fd7c0
cmp esi, dword [esp + 0x34]
je 0x4fd7c5
call fcn.00565471
cmp edi, ebx
je 0x4fd7ff
test esi, esi
jne 0x4fd7fb
call fcn.00565471
cmp edi, dword [esi + 0x18]
jne 0x4fd7dc
call fcn.00565471
mov ecx, dword [ebp + 0xc]
add edi, 0xc
push edi
call fcn.004037bf
lea ecx, [esp + 0x10]
call fcn.00403828
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
jmp 0x4fd7b2
mov esi, dword [esi]
jmp 0x4fd7d2
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 4]
add ecx, 8
mov bl, 1
call eax
lea ecx, [esp + 0x90]
mov byte [esp + 0xe8], 4
call fcn.004040b6
lea ecx, [esp + 0x34]
mov dword [esp + 0xe8], 0xffffffff
call fcn.004040b6
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 4]
add ecx, 8
call eax
mov al, bl
mov ecx, dword [esp + 0xe0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret