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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x47c602
sub esp, 0x6c
mov eax, dword [esp + 0x74]
cmp eax, 2
jl 0x47c10b
mov ecx, dword [esp + 0x70]
movzx edx, byte [ecx]
mov byte [esp + 0x26], dl
lea ebx, [ecx + 1]
mov dword [esp + 0x5c], ebx
mov dword [esp], ebx
lea ebp, [eax - 1]
mov dword [esp + 0x34], ebp
mov dword [esp + 4], ebp
mov byte [esp + 8], dl
call fcn.00403380
mov eax, dword [esp + 0xc]
test eax, eax
jl 0x47c0c4
mov dword [esp + 0x28], eax
lea ecx, [eax + 2]
mov dword [esp + 0x38], ecx
movzx ebx, byte [esp + 0x26]
cmp bl, 0x22
je 0x47bea2
cmp bl, 0x27
je 0x47bea2
cmp bl, 0x60
jne 0x47be5b
movzx ebx, byte [esp + 0x78]
test bl, bl
je 0x47be44
mov edx, dword [esp + 0x74]
cmp edx, ecx
jb 0x47c5fc
nop
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov byte [esp + 8], 0xd
call fcn.00403380
cmp dword [esp + 0xc], 0xffffffff
je 0x47be11
lea eax, [0x734860]
mov dword [esp], eax
mov dword [esp + 4], 0
mov ecx, dword [esp + 0x28]
lea edx, [ecx - 1]
mov dword [esp + 0x48], edx
mov dword [esp + 8], edx
call fcn.004426a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x48]
mov esi, 1
xor edi, edi
jmp 0x47c55e
mov ebx, dword [esp + 0x28]
lea ecx, [ebx + 1]
mov edx, dword [esp + 0x74]
cmp edx, ecx
jb 0x47c554
cmp ecx, 1
jb 0x47c548
mov ecx, ebx
neg ebx
sar ebx, 0x1f
and ebx, 1
mov ebp, dword [esp + 0x70]
add ebx, ebp
mov eax, ecx
jmp 0x47c4ed
mov edx, dword [esp + 0x74]
cmp edx, ecx
jb 0x47c543
mov ebp, dword [esp + 0x70]
mov ebx, ebp
jmp 0x47c4ed
mov eax, dword [0x707318]
mov ecx, dword [0x70731c]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov edx, dword [esp + 0x70]
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
add esp, 0x6c
ret
mov edx, dword [esp + 0x74]
cmp edx, ecx
jb 0x47c4e8
nop
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov byte [esp + 8], 0x5c
call fcn.00403380
cmp dword [esp + 0xc], 0xffffffff
je 0x47becf
xor eax, eax
jmp 0x47bef2
nop
nop
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
mov byte [esp + 8], 0xa
call fcn.00403380
cmp dword [esp + 0xc], 0xffffffff
sete al
test al, al
je 0x47c060
movzx ebx, byte [esp + 0x26]
cmp bl, 0x22
jne 0x47bf4e
mov ebp, dword [esp + 0x28]
lea ecx, [ebp + 1]
mov edx, dword [esp + 0x74]
cmp edx, ecx
jb 0x47c4e3
cmp ecx, 1
jb 0x47c4d7
mov eax, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, 1
mov ecx, dword [esp + 0x70]
lea edx, [ecx + ebp]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.00469c10
movzx eax, byte [esp + 8]
mov ebx, dword [esp + 0x38]
mov ebp, eax
jmp 0x47bfc7
cmp bl, 0x27
jne 0x47bfc1
mov ebp, dword [esp + 0x28]
lea ecx, [ebp + 1]
mov edx, dword [esp + 0x74]
cmp edx, ecx
jb 0x47c4d2
cmp ecx, 1
jb 0x47c4c6
mov eax, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, 1
mov ecx, dword [esp + 0x70]
lea edx, [ecx + ebp]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.004691c0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
lea edx, [ecx + 2]
mov ebx, dword [esp + 0x38]
cmp edx, ebx
jne 0x47bfbd
cmp eax, 0xfffd
je 0x47bfb1
mov ebp, 1
jmp 0x47bfc7
cmp ecx, 1
xchg ebp, ebx
setne bl
xchg ebp, ebx
jmp 0x47bfc7
xor ebp, ebp
jmp 0x47bfc7
mov ebx, dword [esp + 0x38]
xor ebp, ebp
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x47c060
movzx ebp, byte [esp + 0x78]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x47c00d
mov ebp, dword [esp + 0x28]
lea ecx, [ebp + 1]
cmp ecx, ebx
ja 0x47c4bf
cmp ecx, 1
jb 0x47c4b3
mov ecx, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, 1
mov eax, dword [esp + 0x70]
lea edx, [eax + ebp]
mov ebp, ecx
jmp 0x47c019
mov eax, dword [esp + 0x70]
mov ebp, dword [esp + 0x28]
mov ecx, ebx
mov edx, eax
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x74]
sub ecx, ebp
add ecx, 0xfffffffe
mov edx, ecx
neg ecx
sar ecx, 0x1f
and ebx, ecx
add eax, ebx
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
add esp, 0x6c
ret
movzx eax, byte [esp + 0x78]
test al, al
jne 0x47c06f
xor ecx, ecx
xor edx, edx
jmp 0x47c0b0
lea eax, [0x734860]
mov dword [esp], eax
mov dword [esp + 4], 0
mov ecx, dword [esp + 0x28]
lea edx, [ecx + ecx*2]
lea ecx, [ecx + ecx*2 + 6]
shr ecx, 0x1f
lea ecx, [edx + ecx + 6]
sar ecx, 1
mov dword [esp + 0x44], ecx
mov dword [esp + 8], ecx
call fcn.004426a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x44]
mov edx, eax
movzx eax, byte [esp + 0x78]
movzx esi, byte [esp + 0x26]
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x34]
xor edi, edi
jmp 0x47c162
mov eax, dword [0x707318]
mov ecx, dword [0x70731c]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov edx, dword [esp + 0x70]
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
add esp, 0x6c
ret
mov ecx, dword [0x707318]
mov edx, dword [0x70731c]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov ebx, dword [esp + 0x70]
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], edx
add esp, 0x6c
ret
mov ebx, ebp
mov edx, ecx
mov ebp, eax
mov ecx, edi
mov edi, esi
movzx eax, byte [esp + 0x78]
movzx esi, byte [esp + 0x26]
test ebp, ebp
je 0x47c382
xchg esi, eax
cmp byte [ebx], al
xchg esi, eax
je 0x47c374
mov dword [esp + 0x68], ebx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], edi
mov dword [esp + 0x60], edx
mov dword [esp], ebx
mov dword [esp + 4], ebp
xchg esi, eax
mov byte [esp + 8], al
xchg esi, eax
call fcn.0047b680
mov eax, dword [esp + 0x18]
movzx ecx, byte [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x68]
cmp byte [esi], 0xa
je 0x47c32d
test ebx, ebx
jne 0x47c32d
movzx ebx, byte [esp + 0x78]
test bl, bl
je 0x47c30f
mov dword [esp + 0x2c], eax
mov dword [esp + 0x58], ebp
cmp edx, 0x80
jl 0x47c1e1
test cl, cl
jne 0x47c248
mov esi, dword [esp + 0x40]
inc esi
mov edi, dword [esp + 0x44]
cmp edi, esi
jb 0x47c1f4
mov ecx, dword [esp + 0x60]
jmp 0x47c23f
mov dword [esp + 0x50], edx
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp + 0xc], 1
lea eax, [0x734860]
mov dword [esp + 0x10], eax
call fcn.00442820
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
movzx ebx, byte [esp + 0x78]
mov ebp, dword [esp + 0x58]
mov edi, ecx
mov ecx, edx
mov edx, dword [esp + 0x50]
mov byte [esi + ecx - 1], dl
jmp 0x47c31b
mov dword [esp + 0x4c], 0
lea eax, [esp + 0x4c]
mov dword [esp], eax
mov dword [esp + 4], 4
mov dword [esp + 8], 4
mov dword [esp + 0xc], edx
call fcn.00469490
mov ecx, dword [esp + 0x10]
cmp ecx, 4
ja 0x47c4a9
mov eax, dword [esp + 0x40]
lea edx, [eax + ecx]
mov ebx, dword [esp + 0x44]
cmp ebx, edx
jb 0x47c292
mov ebp, dword [esp + 0x60]
jmp 0x47c2d2
mov dword [esp + 0x3c], ecx
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
lea eax, [0x734860]
mov dword [esp + 0x10], eax
call fcn.00442820
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebp, edx
mov edx, eax
mov ebx, ecx
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x54], edx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x64], ebp
add eax, ebp
mov dword [esp], eax
lea eax, [esp + 0x4c]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00457450
mov eax, dword [esp + 0x2c]
movzx ebx, byte [esp + 0x78]
mov ebp, dword [esp + 0x58]
mov edi, dword [esp + 0x44]
mov esi, dword [esp + 0x54]
mov ecx, dword [esp + 0x64]
jmp 0x47c31b
mov esi, dword [esp + 0x40]
mov ecx, dword [esp + 0x60]
mov edi, dword [esp + 0x44]
mov edx, ebx
movzx ebx, byte [esp + 0x26]
cmp bl, 0x27
jne 0x47c14e
jmp 0x47c38e
mov eax, dword [0x707318]
mov ecx, dword [0x70731c]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov edx, dword [esp + 0x70]
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
add esp, 0x6c
ret
mov ecx, edx
mov edx, eax
mov eax, ebp
mov ebp, ebx
mov ebx, esi
mov esi, edi
jmp 0x47c38e
mov ecx, edx
mov edx, eax
mov eax, ebp
mov ebp, ebx
mov ebx, esi
mov esi, edi
test eax, eax
je 0x47c45b
cmp byte [ebp], bl
jne 0x47c45b
lea ebx, [eax - 1]
mov edi, ebx
neg ebx
sar ebx, 0x1f
and ebx, 1
add ebx, ebp
test dl, dl
jne 0x47c3fc
mov edx, dword [esp + 0x74]
mov ebp, edx
sub edx, eax
lea ecx, [edx + 1]
cmp ebp, ecx
jb 0x47c4a2
mov eax, dword [esp + 0x70]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], edi
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
add esp, 0x6c
ret
mov dword [esp + 0x54], edi
mov dword [esp + 0x68], ebx
mov dword [esp], 0
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
call fcn.00445730
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
mov eax, dword [esp + 0x68]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
add esp, 0x6c
ret
mov eax, dword [0x707318]
mov ecx, dword [0x70731c]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov edx, dword [esp + 0x70]
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
add esp, 0x6c
ret
mov edx, ebp
call fcn.00456b60
mov edx, 4
call fcn.00456b60
mov eax, 1
xor ecx, ecx
call fcn.00456ba0
mov edx, ebx
call fcn.00456b60
mov eax, 1
xor ecx, ecx
call fcn.00456ba0
call fcn.00456b60
mov eax, 1
xor ecx, ecx
call fcn.00456ba0
call fcn.00456b60
call fcn.00456b60
mov esi, dword [esp + 0x38]
cmp edx, esi
jb 0x47c53a
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ecx
sub edx, eax
lea eax, [edx - 2]
mov ecx, eax
neg eax
sar eax, 0x1f
and esi, eax
lea eax, [ebp + esi]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
add esp, 0x6c
ret
mov eax, esi
mov ecx, edx
call fcn.00456ba0
call fcn.00456b60
mov eax, 1
xor ecx, ecx
call fcn.00456ba0
call fcn.00456b60
inc esi
mov edx, dword [esp + 0x28]
inc edx
cmp esi, edx
jge 0x47c5c6
cmp ebx, esi
jbe 0x47c5f3
movzx edx, byte [ecx + esi]
cmp dl, 0xd
je 0x47c559
inc edi
cmp ebp, edi
jae 0x47c5c0
mov dword [esp + 0x30], esi
mov byte [esp + 0x27], dl
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x734860]
mov dword [esp + 0x10], eax
call fcn.00442820
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0x70]
movzx edx, byte [esp + 0x27]
mov ebx, dword [esp + 0x74]
mov esi, dword [esp + 0x30]
mov byte [edi + eax - 1], dl
jmp 0x47c559
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], edi
call fcn.00445730
mov ebx, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x74]
mov ebp, dword [esp + 0x70]
jmp 0x47c4ed
mov eax, esi
mov ecx, ebx
call fcn.00456b40
call fcn.00456b60
nop
call fcn.00455690
jmp fcn.0047bd10