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

Disassembly:
sub esp, 0x90
mov edx, dword [esp + 0x98]
push ebx
push ebp
push esi
mov esi, dword [esp + 0xa0]
xor ebx, ebx
inc edx
push edi
mov eax, dword [esi]
mov edi, dword [esi + 0xb8]
push edx
mov dword [esp + 0x20], eax
mov ecx, dword [eax + 0x14]
mov ebp, dword [eax + 0x1c]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x7c], ebx
call fcn.00458cf0
mov ecx, dword [edi + 0x38]
mov edx, dword [esp + 0xac]
mov eax, dword [ecx + eax*4 + 0x60]
add eax, edx
lea edx, [esp + 0x7c]
push edx
push ebx
push 2
push eax
push ebx
push esi
mov dword [esp + 0x4c], eax
call fcn.00464750
mov esi, eax
add esp, 0x1c
cmp esi, ebx
jne 0x47deae
lea eax, [esp + 0x14]
lea ecx, [esp + 0x30]
push eax
push 1
push ecx
push ebp
call dword [ebp + 0x40]
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x47deae
mov esi, dword [esp + 0xac]
lea edx, [esi + 1]
push edx
call fcn.00458cf0
mov ecx, dword [edi + 0x38]
mov edx, dword [ecx + eax*4 + 0x60]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x58]
push 1
add edx, esi
push ecx
push ebp
mov dword [esp + 0x64], edx
call dword [ebp + 0x40]
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x47deae
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x50]
mov dword [edx + 8], eax
mov ecx, dword [esp + 0x18]
mov dword [ecx + 0xc], ebx
mov edx, dword [esp + 0x18]
mov dword [edx + 0x10], ebx
mov eax, dword [esp + 0x18]
mov word [eax + 0x14], bx
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov cx, word [eax]
mov word [edx + 0x16], cx
mov ecx, dword [esp + 0x18]
mov byte [ecx + 0x18], 0
mov edx, dword [esp + 0x18]
mov byte [edx + 0x19], 2
mov edi, dword [edi + 0x3c]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x10], edi
mov ecx, dword [eax]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0xa4]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [edx]
mov ecx, dword [ecx + 0x14]
cmp dword [ecx + 0x14c], ebx
je 0x47d82b
test byte [edx + 0xf8], 0x10
jne 0x47d82b
test dword [ecx + 0x23c], 0x10000
jne 0x47d82b
mov ecx, dword [eax]
mov edx, dword [edx + 4]
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x54], ecx
push ecx
mov ecx, dword [ecx + 8]
lea esi, [esp + 0x58]
push esi
push ecx
push 0x80
lea ecx, [esp + 0x30]
push ebx
push ecx
push edx
push eax
call fcn.0043d010
mov esi, eax
add esp, 0x20
cmp esi, ebx
jne 0x47deae
mov eax, dword [esp + 0x1c]
jmp 0x47d837
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], 1
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
mov dword [ecx], edx
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0xc], ebx
mov edx, dword [esp + 0x14]
mov dword [edx + 0x10], ebx
mov ecx, dword [esp + 0x14]
mov word [ecx + 0x14], bx
mov dx, word [eax]
mov eax, dword [esp + 0x14]
mov word [eax + 0x16], dx
mov ecx, dword [esp + 0x14]
mov byte [ecx + 0x18], 0
mov edx, dword [esp + 0x14]
mov byte [edx + 0x19], 2
mov eax, dword [esp + 0x10]
cmp eax, ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x9c], ebx
je 0x47dd8a
mov edx, dword [eax + 8]
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x28]
push ecx
push 0xffff
push edx
push eax
call fcn.00462730
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x47deae
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x10]
cmp word [eax + 0x14], si
jbe 0x47dc1a
mov ebx, dword [esp + 0x2c]
lea ecx, [esp + 0x74]
push ecx
lea edx, [esp + 0x48]
lea ecx, [esp + 0x8c]
and ebx, 0xffff
push edx
mov edx, dword [esp + 0x24]
push ecx
push ebx
push eax
push edx
mov dword [esp + 0x60], ebx
call fcn.00467d20
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x47deae
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0xa4]
push eax
push ecx
push edx
call fcn.00461720
mov ecx, dword [esp + 0xb4]
add esp, 0xc
cmp eax, ecx
lea edi, [esp + 0x14]
je 0x47d93b
lea edi, [esp + 0x18]
mov ebp, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
lea eax, [ebx + 1]
test eax, eax
mov dword [esp + 0x70], eax
jne 0x47d952
mov eax, dword [ecx]
jmp 0x47d977
mov eax, dword [ecx + 0x1d4]
test ah, 8
je 0x47d964
mov eax, 0x26
jmp 0x47d96d
and al, 1
neg al
sbb eax, eax
and eax, 6
lea edx, [eax + ebx*2 + 0x1a]
xor eax, eax
mov ax, word [edx + ebp]
mov esi, dword [ecx + 0x1d4]
mov dword [esp + 0x4c], eax
mov edx, esi
and edx, 0x800
mov dword [esp + 0x6c], edx
je 0x47d999
mov dword [esp + 0x3c], 0x26
jmp 0x47d9a8
mov eax, esi
and al, 1
neg al
sbb eax, eax
and eax, 6
mov dword [esp + 0x3c], eax
cmp word [esp + 0x2c], 0
jne 0x47d9b4
mov eax, dword [ecx]
jmp 0x47d9d7
test edx, edx
je 0x47d9bf
mov eax, 0x26
jmp 0x47d9cd
mov ecx, esi
and cl, 1
neg cl
sbb ecx, ecx
and ecx, 6
mov eax, ecx
lea ecx, [eax + ebx*2 + 0x18]
xor eax, eax
mov ax, word [ecx + ebp]
test edx, edx
je 0x47d9e2
mov ecx, 0x26
jmp 0x47d9f0
mov edx, esi
and dl, 1
neg dl
sbb edx, edx
and edx, 6
mov ecx, edx
lea ecx, [ecx + ebx*2 + 0x1a]
xor edx, edx
mov dx, word [ecx + ebp]
mov ecx, dword [esp + 0x3c]
sub eax, edx
lea edx, [ecx + ebx*2 + 0x1c]
xor ecx, ecx
mov cx, word [edx + ebp]
mov edx, dword [esp + 0x4c]
sub eax, ecx
lea edx, [eax + edx + 4]
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x47da23
mov ecx, 0x26
jmp 0x47da30
mov eax, esi
and al, 1
neg al
sbb eax, eax
and eax, 6
mov ecx, eax
mov eax, dword [edi]
xor esi, esi
xor ebx, ebx
add ecx, 0x1a
mov si, word [eax + 0x14]
mov bx, word [eax + 0x16]
shl esi, 1
sub ebx, esi
and ecx, 0xffff
sub ebx, ecx
cmp ebx, edx
jae 0x47daf9
mov ebx, dword [esp + 0xa4]
mov ecx, dword [ebx]
mov ecx, dword [ecx + 0x14]
mov edx, dword [ecx + 0x14c]
test edx, edx
je 0x47dabd
test byte [ebx + 0xf8], 0x10
jne 0x47dabd
test dword [ecx + 0x23c], 0x10000
jne 0x47dabd
mov ecx, dword [esp + 0x1c]
push eax
mov edx, dword [ecx]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], edx
mov eax, dword [eax + 8]
lea edx, [esp + 0x58]
push edx
push eax
mov eax, dword [ebx + 4]
push 0x90
lea edx, [esp + 0x30]
push 0
push edx
push eax
push ecx
call fcn.0043d010
mov esi, eax
add esp, 0x20
test esi, esi
jne 0x47deaa
jmp 0x47dacd
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 1
mov ecx, dword [edi]
mov edx, dword [esp + 0x20]
push edi
push 1
mov dword [ecx], edx
mov eax, dword [esp + 0x2c]
mov dword [ecx + 4], eax
mov ecx, dword [edi]
push ecx
push ebx
call fcn.0047e430
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x47deaa
mov ebp, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
test edx, edx
je 0x47dbd1
mov eax, dword [edx]
xor esi, esi
test eax, eax
je 0x47dbd1
xor ecx, ecx
mov eax, dword [ecx + edx]
mov eax, dword [eax + 0xb8]
mov ebx, dword [eax + 0xc]
cmp ebx, dword [ebp + 8]
jne 0x47db4e
mov bx, word [eax + 0x10]
cmp bx, word [esp + 0x2c]
jne 0x47db4e
mov edx, dword [edi]
mov esi, 1
mov edx, dword [edx + 8]
mov dword [eax + 0xc], edx
mov edx, dword [edi]
mov dx, word [edx + 0x14]
mov word [eax + 0x10], dx
mov ebp, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
mov eax, dword [ecx + edx + 4]
add ecx, 4
test eax, eax
jne 0x47db13
test esi, esi
je 0x47dbd1
mov ecx, dword [esp + 0xa4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
mov edx, dword [eax + 0x14c]
test edx, edx
je 0x47dbd1
test byte [ecx + 0xf8], 0x10
jne 0x47dbd1
test dword [eax + 0x23c], 0x10000
jne 0x47dbd1
mov ecx, dword [ecx + 4]
test ecx, ecx
je 0x47dbd1
mov eax, dword [ecx + 4]
test eax, eax
je 0x47dbd1
mov eax, dword [edi]
xor edx, edx
mov dx, word [eax + 0x14]
mov eax, dword [eax + 8]
push edx
mov edx, dword [esp + 0x4c]
push edx
mov edx, dword [ebp + 8]
push eax
push edx
push 6
lea eax, [esp + 0x34]
push 0
push eax
push ecx
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.0043f060
mov esi, eax
add esp, 0x24
test esi, esi
jne 0x47deaa
mov ebp, dword [esp + 0x10]
mov edx, dword [edi]
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x1c]
push edx
push eax
push ebp
push esi
call fcn.0047e300
mov ecx, dword [edi]
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x20]
push ecx
push edx
push eax
push esi
call fcn.0047e300
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x30]
mov ebp, dword [esp + 0x54]
add ecx, 2
add esp, 0x20
cmp cx, word [eax + 0x14]
mov dword [esp + 0x2c], ecx
jb 0x47d8cf
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x40], ecx
mov edx, dword [eax + 8]
cmp edx, dword [esp + 0x30]
je 0x47dc47
mov edi, dword [esp + 0xa4]
push eax
push edi
call fcn.00464560
mov esi, eax
add esp, 8
test esi, esi
jne 0x47dd7d
jmp 0x47dc4e
mov edi, dword [esp + 0xa4]
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x47dc61
xor eax, eax
mov dword [esp + 0x10], eax
jmp 0x47dd13
lea eax, [esp + 0x10]
lea ecx, [esp + 0x40]
push eax
push 1
push ecx
push ebp
call dword [ebp + 0x40]
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x47deae
mov eax, dword [esp + 0x10]
test eax, eax
je 0x47dd13
mov edx, dword [edi]
mov ecx, dword [edx + 0x14]
mov edx, dword [ecx + 0x14c]
test edx, edx
je 0x47dcee
test byte [edi + 0xf8], 0x10
jne 0x47dcee
test dword [ecx + 0x23c], 0x10000
jne 0x47dcee
mov ecx, dword [esp + 0x1c]
push eax
mov edx, dword [ecx]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], edx
mov eax, dword [eax + 8]
lea edx, [esp + 0x58]
push edx
push eax
mov eax, dword [edi + 4]
push 0x80
lea edx, [esp + 0x30]
push esi
push edx
push eax
push ecx
call fcn.0043d010
mov esi, eax
add esp, 0x20
test esi, esi
jne 0x47deae
mov eax, dword [esp + 0x10]
jmp 0x47dcfe
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 1
mov ecx, dword [esp + 0x20]
mov dword [eax], ecx
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
mov dword [eax + 4], edx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x47dd2d
push ecx
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.00418640
mov eax, dword [esp + 0x18]
add esp, 8
test eax, eax
mov dword [esp + 0x28], 0
jne 0x47d898
mov eax, dword [esp + 0x44]
test eax, eax
je 0x47dd8a
mov edx, dword [esp + 0x38]
push eax
push edx
call fcn.00418640
mov eax, dword [esp + 0x18]
add esp, 8
test eax, eax
je 0x47dd8a
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0x30]
cmp ecx, edx
je 0x47dd8a
mov edi, dword [esp + 0xa4]
push eax
push edi
call fcn.00464560
mov esi, eax
add esp, 8
test esi, esi
je 0x47dd8a
mov dword [esp + 0x10], 0
jmp 0x47deb5
mov edi, dword [esp + 0xa4]
mov edx, dword [edi]
mov eax, dword [edx + 0x14]
mov ecx, dword [eax + 0x14c]
test ecx, ecx
je 0x47de5c
test byte [edi + 0xf8], 0x10
jne 0x47de5c
test dword [eax + 0x23c], 0x10000
jne 0x47de5c
mov ebx, dword [esp + 0x1c]
lea ecx, [esp + 0x54]
mov eax, dword [ebx]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x54], eax
push eax
mov edx, dword [eax + 8]
push ecx
mov ecx, dword [edi + 4]
push edx
push 0x90
lea eax, [esp + 0x30]
push 0
push eax
push ecx
push ebx
call fcn.0043d010
mov esi, eax
add esp, 0x20
test esi, esi
jne 0x47deae
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
mov dword [eax], edx
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
mov dword [edx + 4], ecx
mov eax, dword [esp + 0x18]
mov dword [esp + 0x54], eax
lea ecx, [esp + 0x54]
mov edx, dword [eax + 8]
push eax
push ecx
mov ecx, dword [edi + 4]
push edx
push 0x90
lea eax, [esp + 0x30]
push esi
push eax
push ecx
push ebx
call fcn.0043d010
mov esi, eax
add esp, 0x20
test esi, esi
jne 0x47deae
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov dword [eax], edx
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
mov dword [edx + 4], ecx
jmp 0x47de83
mov eax, dword [esp + 0x14]
mov dword [eax], 0
mov ecx, dword [esp + 0x14]
mov eax, 1
mov dword [ecx + 4], eax
mov edx, dword [esp + 0x18]
mov dword [edx], 0
mov ecx, dword [esp + 0x18]
mov dword [ecx + 4], eax
mov edx, dword [esp + 0x14]
push 2
push edx
push ebp
call dword [ebp + 0x50]
mov esi, eax
mov eax, dword [esp + 0x24]
push 2
push eax
push ebp
call dword [ebp + 0x50]
add esp, 0x18
test eax, eax
je 0x47def6
test esi, esi
jne 0x47def6
mov esi, eax
jmp 0x47def6
mov ebp, dword [esp + 0x34]
mov edi, dword [esp + 0xa4]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x47dec7
push 2
push eax
push ebp
call dword [ebp + 0x50]
add esp, 0xc
mov eax, dword [esp + 0x18]
test eax, eax
je 0x47ded9
push 2
push eax
push ebp
call dword [ebp + 0x50]
add esp, 0xc
mov eax, dword [esp + 0x10]
test eax, eax
je 0x47def6
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0x30]
cmp ecx, edx
je 0x47def6
push 2
push eax
push ebp
call dword [ebp + 0x50]
add esp, 0xc
mov eax, dword [esp + 0x78]
test eax, eax
je 0x47df0c
lea edx, [esp + 0x78]
push edx
push edi
call fcn.004649a0
add esp, 8
mov eax, dword [esp + 0x28]
test eax, eax
je 0x47df22
push eax
mov eax, dword [esp + 0x3c]
push eax
call fcn.00418640
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret