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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x98c
mov ebx, dword [esp + 0x9a0]
mov eax, dword [ebx + 0x7720]
mov edx, dword [eax + 0x40]
mov eax, dword [ebx + 0x3b40]
cmp dword [edx + 0xa8], eax
jne 0x10047c20
mov ecx, dword [ebx + 0x3b48]
lea edi, [esp + 0x80]
mov eax, dword [ebx + 0x3b84]
mov dword [esp], ecx
mov ecx, dword [ebx + 0x3b4c]
mov dword [esp + 0x3c], eax
lea eax, [edx + 0x68]
mov edx, dword [edx + 0x68]
mov dword [esp + 4], ecx
mov ecx, dword [ebx + 0x3b50]
mov dword [esp + 8], ecx
mov ecx, dword [ebx + 0x3b54]
mov dword [esp + 0xc], ecx
mov ecx, dword [ebx + 0x3b58]
mov dword [esp + 0x10], ecx
mov ecx, dword [ebx + 0x3b5c]
mov dword [esp + 0x14], ecx
mov ecx, dword [ebx + 0x3b60]
mov dword [esp + 0x18], ecx
mov ecx, dword [ebx + 0x3b64]
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebx + 0x3b68]
mov dword [esp + 0x20], ecx
mov ecx, dword [ebx + 0x3b6c]
mov dword [esp + 0x24], ecx
mov ecx, dword [ebx + 0x3b70]
mov dword [esp + 0x28], ecx
mov ecx, dword [ebx + 0x3b74]
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebx + 0x3b78]
mov dword [esp + 0x30], ecx
mov ecx, dword [ebx + 0x3b7c]
mov dword [esp + 0x34], ecx
mov ecx, dword [ebx + 0x3b80]
mov dword [esp + 0x38], ecx
mov ecx, 0x240
mov dword [esp + 0x40], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x44], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x48], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x4c], edx
mov edx, dword [eax + 0x10]
mov dword [esp + 0x50], edx
mov edx, dword [eax + 0x14]
mov dword [esp + 0x54], edx
mov edx, dword [eax + 0x18]
mov dword [esp + 0x58], edx
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x5c], edx
mov edx, dword [eax + 0x20]
mov dword [esp + 0x60], edx
mov edx, dword [eax + 0x24]
mov dword [esp + 0x64], edx
mov edx, dword [eax + 0x28]
mov dword [esp + 0x68], edx
mov edx, dword [eax + 0x2c]
mov dword [esp + 0x6c], edx
mov edx, dword [eax + 0x30]
mov dword [esp + 0x70], edx
mov edx, dword [eax + 0x34]
mov dword [esp + 0x74], edx
mov edx, dword [eax + 0x38]
mov eax, dword [eax + 0x3c]
mov dword [esp + 0x78], edx
mov edx, 0x870
mov dword [esp + 0x7c], eax
mov eax, dword [ebx + 0x3b38]
lea esi, [eax + 0x190]
rep movsd dword es:[edi], dword [esi]
lea edi, [eax + 0x220]
test edi, 1
jne 0x10047c41
test edi, 2
jne 0x10047c30
mov ecx, edx
xor eax, eax
shr ecx, 2
test dl, 2
rep stosd dword es:[edi], eax
jne 0x10047c08
and edx, 1
jne 0x10047c00
mov edx, dword [ebx + 0x3b40]
mov eax, 1
cmp edx, 1
jg 0x10047aaf
jmp 0x10047bf0
mov ecx, edi
cmp edx, 4
je 0x10047a28
mov edi, dword [esp + 0x50]
cmp ecx, edi
jl 0x10047b90
mov edi, ecx
cmp edx, 5
je 0x10047a28
mov ecx, dword [esp + 0x54]
cmp edi, ecx
jl 0x10047ba0
mov ecx, edi
cmp edx, 6
je 0x10047a28
mov edi, dword [esp + 0x58]
cmp ecx, edi
jl 0x10047b80
mov edi, ecx
cmp edx, 7
je 0x10047a28
mov ecx, dword [esp + 0x5c]
cmp edi, ecx
jl 0x10047b70
mov ecx, edi
cmp edx, 8
je 0x10047a28
mov edi, dword [esp + 0x60]
cmp ecx, edi
jl 0x10047b60
mov edi, ecx
cmp edx, 9
je 0x10047a28
mov ecx, dword [esp + 0x64]
cmp edi, ecx
jl 0x10047b50
mov ecx, edi
cmp edx, 0xa
je 0x10047a28
mov edi, dword [esp + 0x68]
cmp ecx, edi
jl 0x10047b40
mov edi, ecx
cmp edx, 0xb
je 0x10047a28
mov ecx, dword [esp + 0x6c]
cmp edi, ecx
jl 0x10047b30
mov ecx, edi
cmp edx, 0xc
je 0x10047a28
mov edi, dword [esp + 0x70]
cmp ecx, edi
jl 0x10047b20
mov edi, ecx
cmp edx, 0xd
je 0x10047a28
mov ecx, dword [esp + 0x74]
cmp edi, ecx
jl 0x10047b10
mov ecx, edi
cmp edx, 0xe
je 0x10047a28
mov edi, dword [esp + 0x78]
cmp ecx, edi
jl 0x10047b01
mov edi, ecx
cmp edx, 0xf
je 0x10047a28
cmp edi, dword [esp + 0x7c]
mov edi, 0xf
cmovl esi, edi
mov edx, dword [esp + esi*4]
mov dword [esp + esi*4 + 0x40], 0xffffffff
mov dword [ebx + eax*4 + 0x3b48], edx
mov ecx, dword [ebx + 0x3b38]
lea edx, [eax + eax*8]
shl edx, 4
lea ecx, [ecx + edx + 0x190]
lea edx, [esi + esi*8]
mov edi, ecx
shl edx, 4
test cl, 1
lea esi, [esp + 0x80]
lea ebp, [esi + edx]
mov edx, 0x90
mov esi, ebp
jne 0x10047bd5
test edi, 2
jne 0x10047bc0
mov ecx, edx
shr ecx, 2
test dl, 2
rep movsd dword es:[edi], dword [esi]
je 0x10047a92
movzx ecx, word [esi]
mov word [edi], cx
mov ecx, 2
and edx, 1
je 0x10047a9e
movzx edx, byte [esi + ecx]
mov byte [edi + ecx], dl
mov edx, dword [ebx + 0x3b40]
add eax, 1
cmp edx, eax
jle 0x10047bf0
cmp edx, 1
jle 0x10047bb0
mov ecx, dword [esp + 0x44]
mov esi, 0xffffffff
test ecx, ecx
cmovs ecx, esi
cmp edx, 2
je 0x10047bb0
mov edi, dword [esp + 0x48]
mov esi, 2
cmp ecx, edi
jl 0x10047ae2
mov edi, ecx
mov si, 1
cmp edx, 3
je 0x10047a28
mov ecx, dword [esp + 0x4c]
cmp edi, ecx
jge 0x10047930
mov esi, 3
jmp 0x10047932
mov esi, 0xe
jmp 0x10047a17
mov esi, 0xd
jmp 0x10047a04
mov esi, 0xc
jmp 0x100479f1
mov esi, 0xb
jmp 0x100479de
mov esi, 0xa
jmp 0x100479cb
mov esi, 9
jmp 0x100479b8
mov esi, 8
jmp 0x100479a5
mov esi, 7
jmp 0x1004798e
mov esi, 6
jmp 0x10047977
mov esi, 4
jmp 0x10047949
mov esi, 5
jmp 0x10047960
mov esi, 1
jmp 0x10047a28
movzx ecx, word [esi]
add edi, 2
add esi, 2
sub edx, 2
mov word [edi - 2], cx
jmp 0x10047a7b
movzx edx, byte [ebp]
add edi, 1
add esi, 1
mov byte [ecx], dl
mov edx, 0x8f
jmp 0x10047a6f
add esp, 0x98c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov byte [edi], 0
jmp 0x10047916
xor ebp, ebp
add edi, 2
mov word [edi - 2], bp
and edx, 1
je 0x10047916
jmp 0x10047c00
add esp, 0x98c
mov eax, 0xffffffff
pop ebx
pop esi
pop edi
pop ebp
ret
xor eax, eax
add edi, 2
mov word [edi - 2], ax
sub edx, 2
jmp 0x100478fb
mov byte [eax + 0x220], 0
lea edi, [eax + 0x221]
mov dl, 0x6f
jmp 0x100478ef