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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x47b4b8
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
je 0x47b4a2
mov eax, dword [ebp - 4]
cmp dword [eax + 0x18], 0
jne 0x47b4a2
mov eax, dword [ebp - 4]
call fcn.004798f0
test eax, eax
je 0x47b4a2
mov dl, 1
mov eax, dword [0x42200c]
call fcn.00428020
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebx + 0xe0], eax
xor eax, eax
mov dword [ebx + 0xe4], eax
mov byte [ebx + 0xe8], 0
push 0xffffffffffffffff
lea eax, [ebp - 0x38]
push eax
or ecx, 0xffffffff
or edx, 0xffffffff
or eax, 0xffffffff
call fcn.00418594
lea esi, [ebp - 0x38]
lea edi, [ebx + 0xf4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0xffffffffffffffff
lea eax, [ebp - 0x38]
push eax
or ecx, 0xffffffff
or edx, 0xffffffff
or eax, 0xffffffff
call fcn.00418594
lea esi, [ebp - 0x38]
lea edi, [ebx + 0x104]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x47b0fe
mov eax, dword [eax + 0x34]
add eax, 2
mov dword [ebp - 0x14], eax
jmp 0x47b103
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x6c]
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
jne 0x47b11f
mov eax, dword [ebx + 0x6c]
mov edx, dword [eax]
call dword [edx + 0x2c]
add eax, 2
mov dword [ebp - 0x1c], eax
jmp 0x47b128
mov eax, dword [ebx + 0x80]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x64]
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
jne 0x47b148
mov eax, dword [ebx + 0x64]
mov edx, dword [eax]
call dword [edx + 0x2c]
cdq
idiv dword [ebx + 0x68]
add eax, 2
mov dword [ebp - 0x20], eax
jmp 0x47b14d
xor eax, eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x60]
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
jne 0x47b166
mov eax, dword [ebx + 0x60]
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [ebp - 0x24], eax
jmp 0x47b16b
xor eax, eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edi, dword [eax + 8]
dec edi
test edi, edi
jl 0x47b339
inc edi
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 8]
call fcn.004199dc
mov esi, eax
cmp byte [esi + 0x22], 0
je 0x47b32f
mov eax, esi
call fcn.004798f8
test al, al
je 0x47b1be
mov eax, dword [ebx + 0xe4]
add eax, dword [ebp - 0x24]
add eax, 2
mov dword [ebx + 0xe4], eax
jmp 0x47b1eb
mov eax, dword [esi + 0x50]
cmp eax, 0xffffffff
jne 0x47b1da
mov eax, dword [ebx + 0xe4]
add eax, dword [ebx + 0x74]
add eax, 2
mov dword [ebx + 0xe4], eax
jmp 0x47b1eb
mov edx, dword [ebx + 0xe4]
add edx, eax
add edx, 2
mov dword [ebx + 0xe4], edx
cmp dword [esi + 8], 0
je 0x47b29f
cmp byte [esi + 0x21], 0
jne 0x47b210
mov eax, dword [ebp - 0x28]
call fcn.004285f0
mov eax, dword [eax + 0xc]
mov edx, dword [ebx + 0x44]
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x47b278
cmp esi, dword [ebx + 0x1f0]
jne 0x47b22d
mov eax, dword [ebp - 0x28]
call fcn.004285f0
mov eax, dword [eax + 0xc]
mov edx, dword [ebx + 0x3c]
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x47b278
cmp esi, dword [ebx + 0x1f4]
jne 0x47b24a
mov eax, dword [ebp - 0x28]
call fcn.004285f0
mov eax, dword [eax + 0xc]
mov edx, dword [ebx + 0x40]
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x47b278
cmp byte [esi + 0x25], 0
je 0x47b265
mov eax, dword [ebp - 0x28]
call fcn.004285f0
mov eax, dword [eax + 0xc]
mov edx, dword [ebx + 0x48]
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x47b278
mov eax, dword [ebp - 0x28]
call fcn.004285f0
mov eax, dword [eax + 0xc]
mov edx, dword [ebx + 0x38]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x28]
call fcn.004285f0
lea ecx, [ebp - 0x40]
mov edx, dword [esi + 8]
call fcn.00423d50
mov eax, dword [ebp - 0x40]
mov dword [esi + 0x3e], eax
mov eax, dword [ebp - 0x3c]
mov dword [esi + 0x42], eax
mov eax, dword [esi + 0x3e]
mov dword [ebp - 0x10], eax
jmp 0x47b2b2
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [esi + 0x3e], 0xffffffff
mov dword [esi + 0x42], 0xffffffff
cmp word [esi + 0x2c], 0
je 0x47b2e9
lea edx, [ebp - 0x18]
mov ax, word [esi + 0x2c]
call fcn.0044733c
mov eax, dword [ebp - 0x28]
call fcn.004285f0
lea ecx, [ebp - 0x40]
mov edx, dword [ebp - 0x18]
call fcn.00423d50
mov eax, dword [ebp - 0x40]
mov dword [esi + 0x46], eax
mov eax, dword [ebp - 0x3c]
mov dword [esi + 0x4a], eax
mov eax, dword [esi + 0x46]
jmp 0x47b2f9
xor eax, eax
mov dword [esi + 0x46], 0xffffffff
mov dword [esi + 0x4a], 0xffffffff
mov edx, dword [ebp - 0x1c]
add edx, 2
add edx, dword [ebp - 0x14]
add edx, dword [ebp - 0x10]
add eax, edx
mov dword [ebp - 0xc], eax
mov eax, esi
call fcn.004798f0
test eax, eax
jle 0x47b31b
mov eax, dword [ebp - 0x20]
add dword [ebp - 0xc], eax
mov eax, dword [ebx + 0xe0]
cmp eax, dword [ebp - 0xc]
jge 0x47b32f
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0xe0], eax
inc dword [ebp - 8]
dec edi
jne 0x47b185
mov eax, dword [ebx + 0x94]
add eax, eax
add dword [ebx + 0xe0], eax
mov eax, dword [ebx + 0x190]
test eax, eax
je 0x47b35f
cmp eax, dword [ebx + 0xe0]
jle 0x47b35f
mov dword [ebx + 0xe0], eax
mov esi, dword [ebx + 0x94]
add esi, esi
add esi, dword [ebx + 0xe4]
add esi, 2
mov dword [ebx + 0xe4], esi
mov eax, dword [0x491454]
mov eax, dword [eax]
call fcn.00456334
cmp esi, eax
jle 0x47b49a
mov eax, dword [ebx + 0x170]
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
jne 0x47b49a
mov eax, dword [0x491454]
mov eax, dword [eax]
call fcn.00456334
sub eax, 0x14
mov dword [ebx + 0xe4], eax
mov eax, dword [ebx + 0x170]
mov edx, dword [eax]
call dword [edx + 0x20]
add eax, eax
add dword [ebx + 0xe4], eax
mov byte [ebx + 0xe8], 1
mov eax, dword [ebx + 0x170]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, 6
cdq
idiv ecx
mov esi, dword [ebx + 0xe0]
sub esi, eax
sar esi, 1
jns 0x47b3ee
adc esi, 0
mov eax, dword [ebx + 0x170]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, dword [ebx + 0x94]
add edx, 2
add eax, edx
push eax
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebx + 0x170]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, 6
cdq
idiv ecx
mov ecx, eax
add ecx, esi
mov edx, dword [ebx + 0x94]
add edx, 2
mov eax, esi
call fcn.00418594
push esi
lea esi, [ebp - 0x38]
lea edi, [ebx + 0xf4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov eax, dword [ebx + 0xe4]
sub eax, dword [ebx + 0x94]
sub eax, 2
push eax
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebx + 0x170]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, 6
cdq
idiv ecx
add eax, esi
push eax
mov eax, dword [ebx + 0x170]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, dword [ebx + 0xe4]
sub edx, dword [ebx + 0x94]
sub edx, eax
sub edx, 2
mov eax, esi
pop ecx
call fcn.00418594
lea esi, [ebp - 0x38]
lea edi, [ebx + 0x104]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x28]
call fcn.00403588
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47b4bf
lea eax, [ebp - 0x18]
call fcn.00404334
ret