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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4dca51
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x160
push ebx
push esi
mov esi, dword [ebp + 8]
mov al, byte [esi + 2]
push edi
mov edi, ecx
mov ecx, 2
cmp cl, al
sbb ecx, ecx
and ecx, dword [0x51ae10]
mov dl, 5
cmp dl, al
sbb ebx, ebx
and ebx, dword [0x51ae1c]
xor edx, edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x80], ebx
mov byte [esp + 0xf], 0
mov byte [esp + 0xe], 0
mov byte [esp + 0x58], 0
mov byte [esp + 0x7c], 0
mov dword [esp + 0x54], edx
mov dword [esp + 0x50], edx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x174], edx
mov al, byte [ecx + 0x17]
test al, al
jne 0x47af78
mov eax, dword [ecx + 0xc]
mov al, byte [eax + 0x17]
cmp al, 2
jne 0x47afef
mov ecx, dword [0x5165ec]
test byte [ecx + 0x100], 1
jne 0x47afb6
push 0x18
push edx
mov eax, dword [0x51b6d0]
push 1
call fcn.00401590
mov eax, 1
mov ecx, dword [esp + 0x16c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push 0x4f5ac4
push edx
push 0xa
lea edx, [esp + 0x90]
push edx
push 1
call fcn.004c98e5
add esp, 0xc
push eax
mov ecx, esi
call fcn.0042dac0
mov ecx, dword [esp + 0x16c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp ebx, edx
je 0x47b02e
mov ecx, ebx
call fcn.0041acb0
mov al, byte [ebx + 0x17]
test al, al
jne 0x47b007
mov eax, dword [ebx + 0xc]
mov al, byte [eax + 0x17]
cmp al, 2
jne 0x47b02c
mov ecx, dword [0x5165ec]
test byte [ecx + 0x100], 1
jne 0x47b023
push 0x18
push 0
jmp 0x47af8e
push 0x4f5ac4
push 0
jmp 0x47afbc
xor edx, edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x70], edx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x68], edx
push 0x50c70c
mov byte [esp + 0x178], 2
call fcn.004a4b10
add esp, 4
push eax
push edi
call fcn.004c9bad
add esp, 8
test eax, eax
jne 0x47b071
lea esi, [eax + 1]
jmp 0x47b118
push 0x50c730
call fcn.004a4b10
add esp, 4
push eax
push edi
call fcn.004c9bad
add esp, 8
test eax, eax
jne 0x47b094
lea esi, [eax + 2]
jmp 0x47b118
push 0x50c754
call fcn.004a4b10
add esp, 4
push eax
push edi
call fcn.004c9bad
add esp, 8
test eax, eax
jne 0x47b0b4
lea esi, [eax + 3]
jmp 0x47b118
push 0x50c77c
call fcn.004a4b10
add esp, 4
push eax
push edi
call fcn.004c9bad
add esp, 8
test eax, eax
jne 0x47b0d4
lea esi, [eax + 4]
jmp 0x47b118
push 0x50c7b4
call fcn.004a4b10
add esp, 4
push eax
push edi
call fcn.004c9bad
add esp, 8
test eax, eax
jne 0x47b0f4
lea esi, [eax + 5]
jmp 0x47b118
push 0x50c7e8
call fcn.004a4b10
add esp, 4
push eax
push edi
call fcn.004c9bad
add esp, 8
test eax, eax
jne 0x47b20c
mov esi, 6
push str.z_v_4_:__f
mov dword [esp + 0x4c], esi
call fcn.004a4b10
mov edi, dword [ebp + 0x18]
add esp, 4
mov ecx, edi
call fcn.004ac420
test eax, eax
setne bl
mov byte [esp + 0x2f], bl
cmp esi, 1
je 0x47b146
cmp esi, 2
jne 0x47b178
cmp esi, 2
sete al
mov byte [esp + 0x58], al
test al, al
je 0x47b15b
mov byte [esp + 0x7c], 0
jmp 0x47b178
push str.z_n__
call fcn.004a4b10
add esp, 4
mov ecx, edi
call fcn.004ac420
test eax, eax
sete al
mov byte [esp + 0x7c], al
test bl, bl
je 0x47b3d2
cmp dword [ebp + 0xc], 0
je 0x47b207
mov ecx, dword [ebp + 0xc]
cmp word [ecx], 0
je 0x47b207
mov eax, ecx
mov byte [esp + 0x78], 0
mov byte [esp + 0xd], 0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47b1a2
sub eax, edx
sar eax, 1
xor ebx, ebx
mov edi, eax
cmp dword [0x51dc98], ebx
jbe 0x47b207
mov esi, 0x51d7ec
mov eax, dword [esi]
test eax, eax
je 0x47b1df
lea edx, [eax + 2]
jmp 0x47b1d0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47b1d0
sub eax, edx
sar eax, 1
mov ecx, dword [ebp + 0xc]
push eax
mov eax, dword [esi]
push edi
call fcn.004ac110
add esp, 8
test eax, eax
sete al
test al, al
jne 0x47b2b0
inc ebx
add esi, 0xc
cmp ebx, dword [0x51dc98]
jb 0x47b1c2
mov byte [esp + 0xe], 1
cmp dword [esp + 0x80], 0
je 0x47b278
cmp dword [esp + 0x50], 0
je 0x47b278
lea eax, [esp + 0x4c]
call fcn.00414e80
mov esi, dword [esp + 0x80]
mov edi, dword [esp + 0x50]
push eax
mov eax, esi
call fcn.004af6d0
xor edi, edi
cmp byte [esi + 0x17], 0
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x54], edi
jne 0x47b250
mov esi, dword [esi + 0xc]
cmp byte [esi + 0x17], 2
jne 0x47bd73
cmp dword [0x51c0a8], edi
je 0x47bd73
mov ecx, 0x51c09c
call fcn.004049a0
cmp eax, edi
je 0x47b833
cmp byte [esp + 0xe], 0
je 0x47bcd7
mov edx, dword [0x5165ec]
test byte [edx + 0x100], 1
jne 0x47bd7c
mov eax, dword [0x51b6d0]
push 0x18
push 0
push 2
call fcn.00401590
mov edi, 1
jmp 0x47bd0f
mov edx, dword [ebx*4 + 0x51dc20]
lea ebx, [ebx + ebx*2]
add ebx, ebx
add ebx, ebx
xor edi, edi
mov dword [esp + 0x74], edx
cmp dword [ebx + 0x51dabc], edi
je 0x47b2eb
lea edi, [ebx + 0x51dab8]
lea esi, [esp + 0x1c]
mov byte [esp + 0xd], 1
call fcn.004140c0
mov ebx, dword [ebx + 0x51d684]
jmp 0x47b57b
lea eax, [esp + 0xa0]
call fcn.00473460
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], edi
mov byte [esp + 0x174], 4
mov esi, dword [ebx + 0x51d684]
push 0x50c66c
call fcn.004a4b10
add esp, 4
push eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0xa8]
push ecx
mov ecx, esi
call fcn.00477a40
add esp, 0xc
test al, al
jne 0x47b373
mov esi, dword [esp + 0x14]
cmp esi, edi
je 0x47b35a
mov edx, dword [esp + 0x10]
push edx
push edi
push esi
call fcn.004d2f90
add esp, 0xc
push esi
call fcn.004ca991
add esp, 4
lea esi, [esp + 0xa0]
mov byte [esp + 0x174], 2
call fcn.00473520
jmp 0x47b207
cmp dword [esp + 0xa0], 0
lea edi, [ebx + 0x51d950]
setne al
lea esi, [esp + 0x1c]
mov byte [esp + 0x78], al
call fcn.004140c0
mov esi, dword [esp + 0x14]
mov ebx, dword [ebx + 0x51d684]
xor edi, edi
test esi, esi
je 0x47b3b9
mov ecx, dword [esp + 0x10]
push ecx
push edi
push esi
call fcn.004d2f90
add esp, 0xc
push esi
call fcn.004ca991
add esp, 4
lea esi, [esp + 0xa0]
mov byte [esp + 0x174], 2
call fcn.00473520
jmp 0x47b57d
cmp dword [ebp + 0xc], 0
je 0x47b207
mov edx, dword [ebp + 0xc]
cmp word [edx], 0
je 0x47b207
mov eax, edx
mov byte [esp + 0x78], 0
mov byte [esp + 0xd], 0
lea edx, [eax + 2]
jmp 0x47b400
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47b400
sub eax, edx
sar eax, 1
xor ebx, ebx
mov edi, eax
cmp dword [0x51dc98], ebx
jbe 0x47b207
mov esi, 0x51d7ec
test edi, edi
je 0x47b45c
mov eax, dword [esi - 0x168]
test eax, eax
jne 0x47b439
mov ecx, dword [ebp + 0xc]
push eax
push edi
jmp 0x47b47b
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47b440
mov ecx, dword [ebp + 0xc]
sub eax, edx
sar eax, 1
push eax
mov eax, dword [esi - 0x168]
push edi
jmp 0x47b47b
mov eax, dword [esi]
test eax, eax
je 0x47b474
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47b465
sub eax, edx
sar eax, 1
push eax
mov eax, dword [esi]
push 0
xor ecx, ecx
call fcn.004ac110
add esp, 8
test eax, eax
sete al
test al, al
jne 0x47b49d
inc ebx
add esi, 0xc
cmp ebx, dword [0x51dc98]
jb 0x47b424
jmp 0x47b207
mov eax, dword [ebx*4 + 0x51dc20]
lea ebx, [ebx + ebx*2]
add ebx, ebx
add ebx, ebx
xor edi, edi
mov dword [esp + 0x74], eax
cmp dword [ebx + 0x51dabc], edi
jne 0x47b2cc
lea eax, [esp + 0xa0]
call fcn.00473460
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], edi
mov byte [esp + 0x174], 6
mov esi, dword [ebx + 0x51d684]
push 0x50c66c
call fcn.004a4b10
add esp, 4
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0xa8]
push edx
mov ecx, esi
call fcn.00477a40
add esp, 0xc
test al, al
jne 0x47b522
mov esi, dword [esp + 0x14]
cmp esi, edi
je 0x47b35a
mov eax, dword [esp + 0x10]
push eax
jmp 0x47b347
cmp dword [esp + 0xa0], 0
lea edi, [ebx + 0x51d950]
setne cl
lea esi, [esp + 0x1c]
mov byte [esp + 0x78], cl
call fcn.004140c0
mov esi, dword [esp + 0x14]
mov ebx, dword [ebx + 0x51d684]
test esi, esi
je 0x47b567
mov edx, dword [esp + 0x10]
push edx
push 0
push esi
call fcn.004d2f90
add esp, 0xc
push esi
call fcn.004ca991
add esp, 4
lea esi, [esp + 0xa0]
mov byte [esp + 0x174], 2
call fcn.00473520
xor edi, edi
cmp ebx, edi
je 0x47b207
push 0x509dac
call fcn.004a4b10
add esp, 4
push str.l____
mov dword [esp + 0xa0], eax
call fcn.004a4b10
mov esi, dword [esp + 0x4c]
add esp, 4
mov dword [esp + 0x5c], eax
cmp esi, 5
je 0x47bbb8
cmp esi, 6
je 0x47bbb8
cmp esi, 1
je 0x47bad8
cmp esi, 2
je 0x47bacf
cmp esi, 3
jne 0x47b8ad
cmp byte [esp + 0xd], 0
je 0x47b5f4
mov ebx, dword [esp + 0x20]
lea eax, [esp + 0x4c]
call fcn.00414350
jmp 0x47b20c
lea eax, [esp + 0xa0]
call fcn.00473460
mov dword [esp + 0x8c], edi
mov dword [esp + 0x88], edi
mov dword [esp + 0x84], edi
push 0x50c66c
mov byte [esp + 0x178], 0xa
call fcn.004a4b10
add esp, 4
push eax
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0xa8]
push ecx
mov ecx, ebx
call fcn.00477a40
add esp, 0xc
test al, al
jne 0x47b66e
lea ecx, [esp + 0x84]
call fcn.00413fb0
lea esi, [esp + 0xa0]
mov byte [esp + 0x174], 2
call fcn.00473520
jmp 0x47b20c
push 0x509dac
call fcn.004a4b10
add esp, 4
push str.l____
mov dword [esp + 0x78], eax
call fcn.004a4b10
mov edx, dword [esp + 0xc4]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0xd0]
add esp, 4
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], eax
xor ebx, ebx
mov eax, dword [esp + ebx*4 + 0x5c]
cmp eax, edi
je 0x47b649
cmp byte [esp + 0xab], 0
je 0x47bcb2
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], edi
mov ecx, dword [ebp + 0x14]
push ecx
push 3
lea edx, [esp + 0xa8]
push edx
push eax
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x188], 0xb
call fcn.00482fe0
test al, al
je 0x47b790
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], edi
push edi
push edi
push edi
lea ecx, [esp + 0x48]
mov byte [esp + 0x180], 0xc
mov edx, dword [esp + 0x20]
push ecx
push edx
call fcn.00481410
add esp, 0x14
cmp eax, edi
je 0x47b874
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x3c]
call fcn.004818b0
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x74]
mov ecx, esi
call fcn.004ac420
test eax, eax
jne 0x47b88b
mov eax, dword [esp + 0x58]
mov ecx, esi
call fcn.004ac420
test eax, eax
jne 0x47b88b
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], edi
push esi
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0x17c], 0xd
call fcn.00483a50
test al, al
jne 0x47b7a8
lea ecx, [esp + 0x30]
call fcn.00413fb0
lea ecx, [esp + 0x3c]
call fcn.00413fb0
lea ecx, [esp + 0x10]
call fcn.00413fb0
inc ebx
cmp ebx, 2
jb 0x47b6a8
jmp 0x47b649
lea eax, [esp + 0x30]
call fcn.00414e80
cmp eax, edi
je 0x47b7d3
mov edi, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x2c]
call fcn.004af6d0
xor eax, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], eax
xor edi, edi
mov eax, dword [esp + 0x28]
cmp byte [eax + 0x17], 0
jne 0x47b7e0
mov eax, dword [eax + 0xc]
cmp byte [eax + 0x17], 2
jne 0x47b867
cmp dword [0x51c0a8], edi
je 0x47b867
mov ecx, 0x51c09c
call fcn.004049a0
cmp eax, edi
jne 0x47b86b
lea ecx, [esp + 0x30]
call fcn.00413fb0
lea ecx, [esp + 0x3c]
call fcn.00413fb0
lea ecx, [esp + 0x10]
call fcn.00413fb0
lea ecx, [esp + 0x84]
call fcn.00413fb0
lea esi, [esp + 0xa0]
call fcn.00473520
lea ecx, [esp + 0x68]
call fcn.00413fb0
lea ecx, [esp + 0x1c]
call fcn.00413fb0
lea ecx, [esp + 0x4c]
call fcn.00413fb0
xor eax, eax
mov ecx, dword [esp + 0x16c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
and byte [eax + 0x15], 0x86
lea ecx, [esp + 0x30]
call fcn.00413fb0
lea ecx, [esp + 0x3c]
call fcn.00413fb0
lea ecx, [esp + 0x10]
call fcn.00413fb0
jmp 0x47bcb2
mov ebx, esi
lea eax, [esp + 0x4c]
call fcn.00414350
lea ecx, [esp + 0x3c]
call fcn.00413fb0
lea ecx, [esp + 0x10]
call fcn.00413fb0
jmp 0x47b649
cmp esi, 4
jne 0x47bcd2
lea eax, [esp + 0xa0]
call fcn.00473460
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], edi
push 0x50c66c
mov byte [esp + 0x178], 0xf
call fcn.004a4b10
add esp, 4
push eax
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0xa8]
push edx
mov ecx, ebx
call fcn.00477a40
add esp, 0xc
test al, al
jne 0x47b908
lea ecx, [esp + 0x30]
jmp 0x47b650
cmp byte [esp + 0xab], 0
je 0x47ba97
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], edi
push edi
push 4
lea eax, [esp + 0xa8]
mov byte [esp + 0x17c], 0x10
mov ecx, dword [esp + 0xc8]
push eax
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.00482fe0
test al, al
jne 0x47b95d
lea ecx, [esp + 0x10]
call fcn.00413fb0
lea ecx, [esp + 0x30]
jmp 0x47b650
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], edi
push edi
push edi
push edi
lea eax, [esp + 0x48]
mov byte [esp + 0x180], 0x11
mov ecx, dword [esp + 0x20]
push eax
push ecx
call fcn.00481410
add esp, 0x14
cmp eax, edi
je 0x47ba85
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x3c]
call fcn.004818b0
mov ebx, dword [esp + 0x40]
mov eax, dword [esp + 0x9c]
mov ecx, ebx
call fcn.004ac420
test eax, eax
jne 0x47bac4
mov eax, dword [esp + 0x5c]
mov ecx, ebx
call fcn.004ac420
test eax, eax
jne 0x47bac4
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], edi
lea edx, [esp + 0x5c]
mov byte [esp + 0x174], 0x12
mov eax, dword [esp + 0x15c]
push edx
push eax
push ebx
call fcn.00483750
test al, al
je 0x47baa0
lea eax, [esp + 0x5c]
call fcn.00414e80
test eax, eax
je 0x47baa0
lea eax, [esp + 0x5c]
call fcn.00414e80
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x60]
push eax
mov eax, esi
call fcn.004af6d0
xor edi, edi
cmp byte [esi + 0x17], 0
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x64], edi
jne 0x47ba38
mov esi, dword [esi + 0xc]
cmp byte [esi + 0x17], 2
jne 0x47ba78
cmp dword [0x51c0a8], edi
je 0x47ba78
mov ecx, 0x51c09c
call fcn.004049a0
cmp eax, edi
jne 0x47ba7c
lea ecx, [esp + 0x5c]
call fcn.00413fb0
lea ecx, [esp + 0x3c]
call fcn.00413fb0
lea ecx, [esp + 0x10]
call fcn.00413fb0
lea ecx, [esp + 0x30]
jmp 0x47b822
and byte [esi + 0x15], 0x86
lea ecx, [esp + 0x5c]
call fcn.00413fb0
lea ecx, [esp + 0x3c]
call fcn.00413fb0
lea ecx, [esp + 0x10]
call fcn.00413fb0
lea ecx, [esp + 0x30]
jmp 0x47bcb9
lea ecx, [esp + 0x5c]
call fcn.00413fb0
lea ecx, [esp + 0x3c]
call fcn.00413fb0
lea ecx, [esp + 0x10]
call fcn.00413fb0
lea ecx, [esp + 0x30]
jmp 0x47b650
lea eax, [esp + 0x4c]
call fcn.00414350
jmp 0x47baa9
mov ecx, dword [esp + 0x28]
call fcn.0041acb0
cmp byte [esp + 0xd], 0
jne 0x47b207
mov ecx, dword [esp + 0x58]
mov bl, byte [esp + 0x58]
mov edx, dword [esp + 0x7c]
mov eax, dword [ebp + 0x14]
push ecx
xor ecx, ecx
test bl, bl
setne cl
push edx
mov edx, dword [esp + 0x80]
push eax
mov eax, dword [esp + 0x80]
dec ecx
and ecx, dword [ebp + 0x10]
push ecx
push edx
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.0047c5f0
add esp, 0x1c
cmp eax, edi
je 0x47b20c
test bl, bl
je 0x47bb88
lea eax, [esp + 0x1c]
call fcn.00414e80
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
push eax
mov eax, esi
call fcn.004af6d0
xor edi, edi
cmp byte [esi + 0x17], 0
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], edi
jne 0x47bb5a
mov esi, dword [esi + 0xc]
cmp byte [esi + 0x17], 2
jne 0x47bb7f
cmp dword [0x51c0a8], edi
je 0x47bb7f
mov ecx, 0x51c09c
call fcn.004049a0
cmp eax, edi
jne 0x47bcd2
jmp 0x47b833
and byte [esi + 0x15], 0x86
jmp 0x47bcd2
cmp byte [esp + 0x2f], 0
push eax
je 0x47bb9c
mov eax, dword [ebp + 0xc]
lea edx, [esp + 0x20]
push edx
push eax
push edi
jmp 0x47bba6
mov edx, dword [ebp + 0xc]
lea ecx, [esp + 0x20]
push ecx
push edi
push edx
call fcn.0047c130
test al, al
je 0x47b20c
jmp 0x47bcd2
mov ecx, dword [esp + 0x28]
call fcn.0041acb0
lea eax, [esp + 0xa0]
call fcn.00473460
mov dword [esp + 0x8c], edi
mov dword [esp + 0x88], edi
mov dword [esp + 0x84], edi
push 0x50c66c
mov byte [esp + 0x178], 8
call fcn.004a4b10
add esp, 4
push eax
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0xa8]
push ecx
mov ecx, ebx
call fcn.00477a40
add esp, 0xc
test al, al
je 0x47b649
cmp esi, 5
jne 0x47bc35
cmp dword [esp + 0x12c], edi
je 0x47bcb2
lea edi, [esp + 0x128]
jmp 0x47bc4b
cmp esi, 6
jne 0x47bcb2
cmp dword [esp + 0xd8], 0
je 0x47bcb2
lea edi, [esp + 0xd4]
lea esi, [esp + 0x68]
call fcn.00414130
mov edi, dword [esp + 0x6c]
xor ebx, ebx
cmp edi, ebx
je 0x47bcb2
cmp word [edi], bx
je 0x47bcb2
mov eax, esi
call fcn.00414e80
mov esi, dword [esp + 0x28]
push eax
mov eax, esi
call fcn.004af6d0
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x70], ebx
cmp byte [esi + 0x17], bl
jne 0x47bc8a
mov esi, dword [esi + 0xc]
cmp byte [esi + 0x17], 2
jne 0x47bd6a
cmp dword [0x51c0a8], ebx
je 0x47bd6a
mov ecx, 0x51c09c
call fcn.004049a0
cmp eax, ebx
je 0x47b81b
lea ecx, [esp + 0x84]
call fcn.00413fb0
lea esi, [esp + 0xa0]
mov byte [esp + 0x174], 2
call fcn.00473520
mov byte [esp + 0xf], 1
cmp byte [esp + 0xf], 0
mov edx, dword [ebp + 8]
sete al
movzx ecx, al
push ecx
push edx
call fcn.0042db70
mov esi, dword [esp + 0x6c]
mov edi, eax
test esi, esi
je 0x47bd0f
mov eax, dword [esp + 0x68]
push eax
push 0
push esi
call fcn.004d2f90
add esp, 0xc
push esi
call fcn.004ca991
add esp, 4
mov esi, dword [esp + 0x20]
test esi, esi
je 0x47bd30
mov ecx, dword [esp + 0x1c]
push ecx
push 0
push esi
call fcn.004d2f90
add esp, 0xc
push esi
call fcn.004ca991
add esp, 4
mov esi, dword [esp + 0x50]
test esi, esi
je 0x47bd51
mov edx, dword [esp + 0x4c]
push edx
push 0
push esi
call fcn.004d2f90
add esp, 0xc
push esi
call fcn.004ca991
add esp, 4
mov ecx, dword [esp + 0x16c]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x14
and byte [esi + 0x15], 0x86
jmp 0x47bcb2
and byte [esi + 0x15], 0x86
jmp 0x47b278
push 0x4f5ac4
push 0
push 0xa
lea eax, [esp + 0x90]
push eax
push 2
call fcn.004c98e5
mov ecx, dword [ebp + 8]
add esp, 0xc
push eax
call fcn.0042dac0
mov edi, eax
jmp 0x47bd0f