Function at 0x47b4c8
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 0x47b944
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
je 0x47b92e
mov eax, dword [ebp - 4]
cmp dword [eax + 0x18], 0
je 0x47b92e
mov eax, dword [ebp - 4]
call fcn.004798f0
test eax, eax
je 0x47b92e
mov dl, 1
mov eax, dword [0x42200c]
call fcn.00428020
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebx + 0x11c], eax
xor eax, eax
mov dword [ebx + 0x120], eax
mov byte [ebx + 0x124], 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 + 0x130]
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 + 0x140]
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 0x47b58a
mov eax, dword [eax + 0x34]
add eax, 2
mov dword [ebp - 0x14], eax
jmp 0x47b58f
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 0x47b5ab
mov eax, dword [ebx + 0x6c]
mov edx, dword [eax]
call dword [edx + 0x2c]
add eax, 2
mov dword [ebp - 0x1c], eax
jmp 0x47b5b4
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 0x47b5d4
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 0x47b5d9
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 0x47b5f2
mov eax, dword [ebx + 0x60]
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [ebp - 0x24], eax
jmp 0x47b5f7
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 0x47b7c5
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 0x47b7bb
mov eax, esi
call fcn.004798f8
test al, al
je 0x47b64a
mov eax, dword [ebx + 0x120]
add eax, dword [ebp - 0x24]
add eax, 2
mov dword [ebx + 0x120], eax
jmp 0x47b677
mov eax, dword [esi + 0x50]
cmp eax, 0xffffffff
jne 0x47b666
mov eax, dword [ebx + 0x120]
add eax, dword [ebx + 0x74]
add eax, 2
mov dword [ebx + 0x120], eax
jmp 0x47b677
mov edx, dword [ebx + 0x120]
add edx, eax
add edx, 2
mov dword [ebx + 0x120], edx
cmp dword [esi + 8], 0
je 0x47b72b
cmp byte [esi + 0x21], 0
jne 0x47b69c
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 0x47b704
cmp esi, dword [ebx + 0x1f0]
jne 0x47b6b9
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 0x47b704
cmp esi, dword [ebx + 0x1f4]
jne 0x47b6d6
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 0x47b704
cmp byte [esi + 0x25], 0
je 0x47b6f1
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 0x47b704
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 0x47b73e
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [esi + 0x3e], 0xffffffff
mov dword [esi + 0x42], 0xffffffff
cmp word [esi + 0x2c], 0
je 0x47b775
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 0x47b785
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 0x47b7a7
mov eax, dword [ebp - 0x20]
add dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x11c]
cmp eax, dword [ebp - 0xc]
jge 0x47b7bb
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x11c], eax
inc dword [ebp - 8]
dec edi
jne 0x47b611
mov eax, dword [ebx + 0x94]
add eax, eax
add dword [ebx + 0x11c], eax
mov eax, dword [ebx + 0x190]
test eax, eax
je 0x47b7eb
cmp eax, dword [ebx + 0x11c]
jle 0x47b7eb
mov dword [ebx + 0x11c], eax
mov esi, dword [ebx + 0x94]
add esi, esi
add esi, dword [ebx + 0x120]
add esi, 2
mov dword [ebx + 0x120], esi
mov eax, dword [0x491454]
mov eax, dword [eax]
call fcn.00456334
cmp esi, eax
jle 0x47b926
mov eax, dword [ebx + 0x170]
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
jne 0x47b926
mov eax, dword [0x491454]
mov eax, dword [eax]
call fcn.00456334
sub eax, 0x14
mov dword [ebx + 0x120], eax
mov eax, dword [ebx + 0x170]
mov edx, dword [eax]
call dword [edx + 0x20]
add eax, eax
add dword [ebx + 0x120], eax
mov byte [ebx + 0x124], 1
mov eax, dword [ebx + 0x170]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, 6
cdq
idiv ecx
mov esi, dword [ebx + 0x11c]
sub esi, eax
sar esi, 1
jns 0x47b87a
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 + 0x130]
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 + 0x120]
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 + 0x120]
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 + 0x140]
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 0x47b94b
lea eax, [ebp - 0x18]
call fcn.00404334
ret