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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
push ebx
push esi
push edi
xor edi, edi
cmp dword [ebp + 0xc], 2
mov byte [esp + 0x1b], 0
lea ebx, [edi + 1]
jne 0x479375
cmp byte [0x4a0b80], 0
mov dword [ebp + 0xc], ebx
jne 0x479375
mov byte [0x4a0b80], bl
mov byte [esp + 0x1b], bl
cmp dword [0x4a2c14], edi
je 0x4793a9
cmp dword [0x4a2c04], edi
je 0x479397
mov eax, dword [0x4a2bfc]
push eax
call dword [0x48d2bc]
mov dword [0x4a2c04], edi
call dword [0x48d564]
mov dword [0x4a2c14], edi
mov dword [0x4a2bfc], edi
mov esi, dword [ebp + 8]
cmp esi, 0x8000012f
jne 0x4793c9
mov dword [ebp + 8], 0xa
mov esi, dword [ebp + 8]
mov byte [esp + 0x58], 1
mov dword [esp + 0x6c], edi
jmp 0x4793e7
cmp esi, 5
setle al
mov byte [esp + 0x58], al
test al, al
je 0x4793dd
mov dword [esp + 0x6c], edi
jmp 0x4793e7
call dword [0x48d2e4]
mov dword [esp + 0x6c], eax
cmp dword [0x4a24a0], edi
je 0x4793f4
call fcn.0047ab90
mov byte [esp + 0x18], 0
cmp dword [0x4a30b0], edi
je 0x47940f
call fcn.0047aa20
test al, al
je 0x47940f
mov byte [esp + 0x18], 1
cmp esi, edi
jle 0x47962d
cmp dword [ebp + 0xc], ebx
jne 0x47962d
add dword [0x4a0b90], ebx
cmp byte [0x4a0b7a], 0
mov byte [esp + 0x19], 1
jne 0x479451
mov ecx, dword [0x4a0a38]
push edi
push 0xa
push 9
push ecx
call dword [0x48d60c]
test eax, eax
setne dl
mov byte [0x4a0b7a], dl
mov byte [esp + 0x23], 0
mov byte [esp + 0x1a], 0
mov edi, dword [0x48d2e4]
call edi
cmp dword [ebp + 8], 0
mov ebx, eax
jle 0x479637
cmp byte [esp + 0x1a], 0
jne 0x479637
cmp byte [0x4a0b80], 0
jne 0x479644
call fcn.0047b0f0
neg eax
sbb eax, eax
and eax, 0xfffffcef
add eax, 0x311
push eax
push 0
push 0
lea eax, [esp + 0x34]
push eax
call dword [0x48d608]
cmp eax, 0xffffffff
je 0x47945b
call edi
mov ecx, eax
sub ecx, ebx
cmp ecx, 3
jbe 0x4794bf
mov dword [0x4a3100], eax
cmp dword [0x4a1344], 0
je 0x4794f9
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x9c]
push eax
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x34]
push eax
push ecx
push edx
call fcn.0047ac00
add esp, 0x18
test al, al
jne 0x47945b
cmp dword [0x4a2b64], 0
mov esi, dword [esp + 0x2c]
je 0x479b1d
mov eax, dword [esp + 0x28]
test eax, eax
je 0x479b1d
cmp eax, dword [0x4a0a38]
je 0x479b1d
cmp esi, 0x414
je 0x479b1d
cmp esi, 0x402
je 0x479b1d
cmp esi, 0x100
jne 0x479ab7
mov edi, dword [esp + 0x30]
cmp edi, 0x22
je 0x479567
cmp edi, 0x21
je 0x479567
cmp edi, 9
je 0x479567
cmp edi, 0x25
je 0x479567
cmp edi, 0x27
jne 0x4798ae
call dword [0x48d5f8]
mov esi, eax
test esi, esi
je 0x4798aa
call 0x4e05d0
test eax, eax
je 0x4798aa
mov edi, eax
call fcn.004792d0
mov ebx, eax
mov dword [esp + 0x10], ebx
test ebx, ebx
je 0x4798aa
cmp byte [ebx + 0x54], 0
je 0x4798aa
push esi
call dword [0x48d614]
lea edi, [eax - 3]
cmp edi, dword [ebx + 0xc]
jb 0x4795d0
push esi
call dword [0x48d610]
test eax, eax
je 0x4795c7
push eax
call dword [0x48d614]
lea edi, [eax - 3]
cmp edi, dword [ebx + 0xc]
jae 0x4798a2
mov ecx, dword [ebx + 0x14]
lea eax, [edi + edi*4]
lea esi, [ecx + eax*4]
mov dword [esp + 0x14], esi
test esi, esi
je 0x4798aa
mov al, byte [esi + 4]
cmp al, 0xf
je 0x4798aa
mov edi, dword [esp + 0x30]
xor ebx, ebx
cmp al, 0x13
jne 0x479993
mov ebx, esi
cmp edi, 0x25
je 0x47960e
cmp edi, 0x27
jne 0x479993
mov ecx, dword [esp + 0x10]
cmp edi, 0x27
push 0
sete dl
movzx eax, dl
push 0
push eax
push ecx
mov eax, esi
call 0x4d3870
jmp 0x47945b
mov byte [esp + 0x19], 0
jmp 0x479451
cmp byte [0x4a0b80], 0
je 0x4797bf
call dword [0x48d604]
mov esi, eax
test esi, esi
je 0x4797bf
push 0
push esi
call dword [0x48d600]
cmp eax, dword [0x4a2bbc]
jne 0x4797bf
cmp dword [0x4a0bbc], 0
je 0x4796a1
push 0x20
lea edx, [esp + 0xa4]
push edx
push esi
call dword [0x48d5fc]
lea eax, [esp + 0xa0]
push 0x49004c
push eax
call 0x4eedcc
add esp, 8
test eax, eax
sete al
test al, al
jne 0x4796f6
call dword [0x48d5f8]
test eax, eax
je 0x4797bf
push 0x20
lea ecx, [esp + 0xa4]
push ecx
push eax
call dword [0x48d5fc]
lea edx, [esp + 0xa0]
push 0x490054
push edx
call 0x4eecb6
add esp, 8
test eax, eax
je 0x4796f6
lea eax, [esp + 0xa0]
push 0x490064
push eax
call 0x4eecb6
add esp, 8
test eax, eax
jne 0x4797bf
mov edi, dword [0x48d5f4]
push 0
push 0x1ff
push 0
push 0
lea ecx, [esp + 0x38]
push ecx
call edi
test eax, eax
jne 0x47973b
push 1
call fcn.0047b0f0
neg eax
sbb eax, eax
and eax, 0xfffffcef
add eax, 0x311
push eax
push 0x20e
push 0
lea edx, [esp + 0x38]
push edx
call edi
jmp 0x47983a
mov esi, dword [esp + 0x38]
push 0
call fcn.0047b0f0
neg eax
sbb eax, eax
and eax, 0xfffffcef
add eax, 0x311
push eax
push 0x20e
push 0
lea eax, [esp + 0x38]
push eax
call edi
push 1
test eax, eax
jne 0x47977c
push 0x1ff
push eax
push eax
lea ecx, [esp + 0x38]
push ecx
call edi
jmp 0x47983a
mov edx, dword [esp + 0x3c]
sub edx, esi
test edx, edx
jle 0x47979b
push 0x1ff
push 0
push 0
lea eax, [esp + 0x38]
push eax
call edi
jmp 0x47983a
call fcn.0047b0f0
neg eax
sbb eax, eax
and eax, 0xfffffcef
add eax, 0x311
push eax
push 0x20e
push 0
lea ecx, [esp + 0x38]
push ecx
call edi
jmp 0x47983a
cmp dword [0x49d328], 0
je 0x479818
cmp dword [0x4a0bb0], 0
jne 0x479818
mov eax, dword [0x49d3c8]
cmp byte [eax + 0xc4], 0
jne 0x47980f
cmp byte [eax + 0xc6], 0
jne 0x47980f
cmp dword [eax + 0xb8], 0xffffffff
jle 0x47980f
call edi
mov edx, eax
mov eax, dword [0x49d3c8]
sub edx, dword [eax + 0xb4]
cmp edx, dword [eax + 0xb8]
jb 0x47980f
mov byte [eax + 0xc4], 1
movzx eax, byte [eax + 0xc4]
jmp 0x47981a
xor eax, eax
neg eax
sbb eax, eax
push 1
and eax, 0xfffffcef
add eax, 0x311
push eax
push 0
push 0
lea eax, [esp + 0x38]
push eax
call dword [0x48d5f4]
test eax, eax
jne 0x4794bf
mov edi, dword [0x48d2e4]
call edi
mov ecx, eax
sub ecx, ebx
cmp ecx, 3
jbe 0x479858
mov dword [0x4a3100], eax
mov esi, dword [ebp + 8]
test esi, esi
jne 0x479877
cmp byte [esp + 0x23], 0
jne 0x479877
push esi
call dword [0x48d2e0]
mov byte [esp + 0x23], 1
jmp 0x47945b
call edi
cmp byte [esp + 0x58], 0
jne 0x47a86f
mov edx, dword [esp + 0x6c]
sub edx, eax
add edx, esi
cmp edx, 5
jle 0x47a86f
push 5
call dword [0x48d2e0]
jmp 0x47945b
mov dword [esp + 0x14], 0
mov edi, dword [esp + 0x30]
cmp edi, 0x1b
je 0x4798d7
cmp edi, 9
je 0x4798d7
cmp edi, 0x41
jne 0x479a4f
push 0x11
call dword [0x48d5ec]
mov ecx, 0x8000
test cx, ax
je 0x479a4b
call dword [0x48d5f8]
mov esi, eax
test esi, esi
je 0x479a4b
call 0x4e05d0
test eax, eax
je 0x479a4b
mov edi, eax
call fcn.004792d0
mov dword [esp + 0x10], eax
test eax, eax
je 0x479a4b
mov ebx, dword [0x48d614]
push esi
call ebx
mov edx, dword [esp + 0x10]
lea edi, [eax - 3]
cmp edi, dword [edx + 0xc]
jb 0x47992d
push esi
call dword [0x48d610]
test eax, eax
je 0x47992d
push eax
call ebx
lea edi, [eax - 3]
mov eax, dword [esp + 0x10]
cmp edi, dword [eax + 0xc]
jae 0x479a43
mov edx, dword [eax + 0x14]
lea ecx, [edi + edi*4]
lea eax, [edx + ecx*4]
mov dword [esp + 0x14], eax
test eax, eax
je 0x479a4b
cmp byte [eax + 4], 0xc
jne 0x479a4b
mov edi, dword [esp + 0x30]
cmp edi, 0x1b
je 0x479a8f
cmp edi, 0x41
je 0x479a72
test byte [eax + 5], 0x80
je 0x479a4f
mov ecx, dword [eax]
push 0x490074
push 1
push 0xc2
push ecx
call dword [0x48d5e4]
jmp 0x47945b
cmp edi, 0x25
je 0x4798ae
cmp edi, 0x27
je 0x4798ae
push 0x11
call dword [0x48d5ec]
mov edx, 0x8000
test dx, ax
je 0x4798aa
mov edi, dword [esp + 0x30]
cmp edi, 9
jne 0x4799e1
cmp byte [esi + 4], 0xc
jne 0x4799e1
mov eax, dword [esi]
push 0xfffffffffffffff0
push eax
call dword [0x48d5e8]
test al, 4
jne 0x4798aa
mov edi, dword [esp + 0x30]
test ebx, ebx
jne 0x479a08
mov bl, byte [esi + 6]
mov ecx, dword [esp + 0x10]
call 0x4d3600
mov ebx, eax
test ebx, ebx
jne 0x479a08
xor bl, bl
call 0x4d3600
mov ebx, eax
test ebx, ebx
je 0x4798ae
cmp edi, 0x22
je 0x479a28
cmp edi, 9
jne 0x479a24
push 0x10
call dword [0x48d5ec]
mov ecx, 0x8000
test cx, ax
je 0x479a28
xor al, al
jmp 0x479a2d
mov eax, 1
mov edx, dword [esp + 0x10]
push 1
push 1
push eax
push edx
mov eax, ebx
call 0x4d3870
jmp 0x47945b
mov dword [esp + 0x14], 0
mov edi, dword [esp + 0x30]
mov eax, dword [0x4a2b68]
test eax, eax
je 0x479ab7
cmp edi, 0xd
jne 0x479a9d
push 0
push 0
push 0x1116
push eax
call dword [0x48d5e4]
jmp 0x47945b
test byte [eax + 5], 2
jne 0x479a4f
mov edx, dword [eax]
push 0xffffffffffffffff
push 0
push 0xb1
push edx
call dword [0x48d5e4]
jmp 0x47945b
mov eax, dword [esp + 0x10]
call 0x4d02e0
jmp 0x47945b
cmp edi, 0x1b
jne 0x479ab7
push 0
push 1
push 0x1116
push eax
call dword [0x48d5e4]
jmp 0x47945b
xor esi, esi
mov edi, 0x4a11b8
mov edi, edi
mov eax, dword [edi]
test eax, eax
je 0x479b0e
cmp dword [eax], 0
je 0x479b05
mov eax, dword [0x49d3c8]
mov byte [eax + 0xc0], 1
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0xbc], ecx
mov eax, dword [edi]
mov ecx, dword [eax]
lea edx, [esp + 0x28]
push edx
push ecx
call dword [0x48d5e0]
test eax, eax
jne 0x47a18a
mov edx, dword [0x49d3c8]
mov byte [edx + 0xc0], al
inc esi
cmp dword [0x4a2b64], esi
je 0x479b19
add edi, 4
cmp edi, 0x4a1344
jl 0x479ac0
mov esi, dword [esp + 0x2c]
cmp esi, 0x312
ja 0x479c84
je 0x479cb5
cmp esi, 0x100
ja 0x479b9f
je 0x479b70
cmp esi, 0x12
je 0x479b5b
cmp esi, 0x4b
jne case.default.0x479c9a
mov dword [0x4a0b70], 0
mov byte [esp + 0x1a], 1
jmp 0x47945b
push 0
push 0
push 6
mov ecx, 0x4a2c18
call 0x48c960
jmp 0x47945b
mov ecx, dword [esp + 0x28]
cmp ecx, dword [0x4a0a3c]
jne case.default.0x479c9a
cmp dword [esp + 0x30], 0x1b
jne case.default.0x479c9a
mov edx, dword [0x4a0a38]
push 0
push edx
call dword [0x48d5d0]
jmp 0x47945b
cmp esi, 0x113
jne case.default.0x479c9a
cmp dword [esp + 0x34], 0
jne case.default.0x479c9a
mov eax, dword [0x4a0a38]
cmp dword [esp + 0x28], eax
jne case.default.0x479c9a
cmp dword [0x4a24a0], 0
je 0x479bd3
call fcn.0047ab90
cmp dword [0x4a30b0], 0
je 0x479bea
call fcn.0047aa20
test al, al
je 0x479bea
mov byte [esp + 0x18], 1
cmp dword [ebp + 0xc], 0
je 0x47945b
cmp dword [ebp + 8], 1
jl 0x47945b
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x6c]
mov esi, dword [ebp + 8]
push ecx
push edx
call fcn.0047a9e0
add esp, 8
test eax, eax
je 0x47945b
cmp byte [esp + 0x1b], 0
je 0x479c29
mov byte [0x4a0b80], 0
cmp byte [esp + 0x19], 0
je 0x479c79
dec dword [0x4a0b90]
cmp dword [ebp + 8], 0
jle 0x479c79
cmp dword [0x4a0b90], 0
jne 0x479c79
cmp dword [0x4a30b0], 0
jne 0x479c79
cmp dword [0x4a24a0], 0
jne 0x479c79
cmp byte [0x4a0b7a], 0
je 0x479c79
mov eax, dword [0x4a0a38]
push 9
push eax
lea eax, [esi - 0x400]
cmp eax, 0x15
ja case.default.0x479c9a
movzx eax, byte [eax + 0x402908]
jmp dword [eax*4 + 0x4028fc]
xor ebx, ebx
lea eax, [esi - 0x401]
mov dword [esp + 0x68], ebx
cmp eax, 0x14
ja case.default.0x479cd1
movzx ecx, byte [eax + 0x402934]
jmp dword [ecx*4 + 0x402920]
mov ecx, dword [esp + 0x30]
mov edx, dword [0x49e4e0]
mov eax, ecx
and eax, 0x3fff
cmp ax, word [edx]
jae 0x47945b
mov edx, dword [eax*4 + 0x4a14f0]
mov eax, ecx
shr eax, 0x10
mov dword [esp + 0x5c], edx
test ax, ax
je 0x479ffa
mov ecx, edx
mov ebx, dword [ecx + 0x20]
add eax, 0xffff
mov dword [esp + 0x1c], ebx
test ax, ax
je 0x479ff6
mov edx, dword [ebx + 0x14]
add eax, 0xffff
mov dword [esp + 0x1c], edx
mov ebx, edx
test ax, ax
jne 0x479fe3
test ebx, ebx
jne 0x47a01a
mov eax, dword [esp + 0x5c]
push eax
lea eax, [esp + 0x54]
call fcn.00481700
mov dword [esp + 0x1c], eax
test eax, eax
je 0x47945b
mov esi, dword [esp + 0x2c]
mov ebx, eax
mov al, byte [ebx + 0x1e]
cmp al, 1
je 0x47a02d
cmp al, 3
je 0x47a02d
mov dword [esp + 0x50], 0
mov ecx, dword [ebx]
mov edx, dword [ecx + 4]
mov al, byte [edx]
mov ecx, dword [0x4a0b94]
mov edx, dword [0x49d334]
mov byte [esp + 0x54], al
cmp ecx, edx
jl 0x47a081
add edx, 2
cmp ecx, edx
jge 0x47a06f
cmp al, 0xd8
je 0x47a081
cmp al, 0xc4
je 0x47a081
cmp al, 0xd2
je 0x47a081
cmp al, 0xd3
je 0x47a081
cmp al, 0xce
je 0x47a081
cmp al, 0xcf
je 0x47a081
cmp al, 0xd0
je 0x47a081
cmp al, 0xd1
je 0x47a081
mov eax, dword [esp + 0x68]
test eax, eax
je 0x47945b
push eax
jmp 0x47a228
lea eax, [esi - 0x401]
cmp eax, 0x14
ja case.default.0x47a097
movzx ecx, byte [eax + 0x402974]
jmp dword [ecx*4 + 0x402960]
call dword [0x48d604]
mov edi, eax
test edi, edi
je 0x47a80e
push 0
push edi
call dword [0x48d600]
cmp eax, dword [0x4a2bbc]
jne 0x47a80e
push 0x20
lea edx, [esp + 0xa4]
push edx
push edi
call dword [0x48d5fc]
lea eax, [esp + 0xa0]
push 0x49004c
push eax
call 0x4eedcc
add esp, 8
test eax, eax
jne 0x47a80e
mov eax, dword [0x49d3c8]
lea edx, [esp + 0x28]
mov byte [eax + 0xc0], 1
mov ecx, dword [esp + 0x2c]
push edx
push edi
mov dword [eax + 0xbc], ecx
call dword [0x48d5e0]
test eax, eax
je 0x47a801
cmp dword [0x4a0bbc], 0
je 0x47a18a
push 0x4a13a8
call dword [0x48d2dc]
mov eax, dword [0x49d3c8]
mov byte [eax + 0xc0], 0
jmp 0x47945b
mov cl, byte [ebx + 0x1f]
cmp cl, byte [ebx + 0x20]
jb 0x47a20a
mov edx, dword [ebx]
mov eax, dword [edx + 4]
mov al, byte [eax]
cmp al, 0xd8
je 0x47a20a
cmp al, 0xc4
je 0x47a20a
cmp al, 0xd2
je 0x47a20a
cmp al, 0xd3
je 0x47a20a
cmp al, 0xce
je 0x47a20a
cmp al, 0xcf
je 0x47a20a
cmp al, 0xd0
je 0x47a20a
cmp al, 0xd1
je 0x47a20a
cmp byte [ebx + 0x22], 0
je 0x47a1fc
mov byte [ebx + 0x23], 1
call dword [0x48d2e4]
mov dword [ebx + 4], eax
jmp 0x47945b
mov edi, dword [ebx + 0x18]
mov ecx, dword [0x49d3c8]
cmp edi, dword [ecx + 0x2c]
jge 0x47a23e
cmp dword [esp + 0x68], 0
je 0x47945b
mov edx, dword [esp + 0x68]
push edx
call dword [0x48d3b4]
mov eax, dword [esp + 0x10]
mov dword [eax + 0x6c], 0
jmp 0x47945b
mov byte [esp + 0x18], 1
cmp esi, 0x402
je 0x47a2b4
cmp esi, 0x413
jbe 0x47a25f
cmp esi, 0x415
jbe 0x47a2f3
mov ecx, dword [0x4a3088]
mov edx, dword [0x4a30c0]
mov dword [0x4a308c], ecx
mov dword [0x4a30c4], edx
cmp esi, 0x401
jne 0x47a29a
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov dword [0x4a3088], edx
call dword [0x48d2e4]
mov dword [0x4a30c0], eax
jmp 0x47a2f3
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 4]
mov dword [0x4a3088], ecx
call dword [0x48d2e4]
mov dword [0x4a30c0], eax
jmp 0x47a2f3
mov esi, dword [esp + 0x64]
mov edx, dword [esi]
push 0x104
push edx
push 0x4a2e7c
call 0x4f28e0
mov byte [0x4a2f80], 0
mov eax, dword [esi + 0x14]
mov ecx, dword [eax]
add esp, 0xc
push 0x104
push ecx
push 0x4a2f81
call 0x4f28e0
add esp, 0xc
mov byte [0x4a3085], 0
mov ecx, dword [0x4a13a4]
mov esi, 1
push esi
call fcn.00479230
push 0x7f
push eax
lea edx, [esp + 0xc8]
push edx
call 0x4f28e0
mov eax, dword [esp + 0x60]
add esp, 0xc
push eax
push 0
push edi
mov al, 1
mov byte [esp + 0x14b], 0
call fcn.0047afb0
mov edi, dword [0x49d3c8]
add esp, 0xc
call dword [0x48d2e4]
mov dword [0x4a3104], eax
mov dword [0x4a3100], eax
mov eax, dword [esp + 0x2c]
add eax, 0xfffffbff
cmp eax, 0x14
ja case.default.0x47a360
movzx ecx, byte [eax + 0x4029a0]
jmp dword [ecx*4 + 0x40298c]
mov ecx, dword [esp + 0x5c]
mov al, byte [ecx + 0x12]
cmp al, 0x9c
jb 0x47a782
cmp al, 0x9f
ja 0x47a782
mov edx, dword [esp + 0x34]
mov dword [edi + 0x38], edx
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x50]
push ecx
mov dword [edi + 0xa0], eax
call fcn.004819f0
mov ecx, dword [0x4a13a4]
dec dword [0x4a0b94]
sub dword [0x49d3c8], 0xd8
push 1
push 0
push 0xffffffffffffffff
lea edx, [esp + 0xcc]
push edx
call 0x4de8b0
push 0
mov eax, 0x4a2c18
call 0x48c620
cmp dword [ebp + 0xc], 0
je 0x47945b
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x6c]
mov esi, dword [ebp + 8]
push eax
push ecx
call fcn.0047a9e0
add esp, 8
test eax, eax
je 0x47945b
mov byte [esp + 0x1a], 1
mov byte [esp + 0x58], 1
jmp 0x47945b
mov ecx, dword [0x49d3c8]
mov byte [ecx + 0xc0], 0
mov eax, dword [0x4a0a4c]
test eax, eax
je 0x47a831
lea edx, [esp + 0x28]
push edx
push eax
mov eax, dword [0x4a0a38]
push eax
call dword [0x48d5cc]
test eax, eax
jne 0x47945b
mov eax, dword [0x49d3c8]
mov byte [eax + 0xc0], 1
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x28]
push edx
mov dword [eax + 0xbc], ecx
call dword [0x48d584]
lea eax, [esp + 0x28]
push eax
call dword [0x48d580]
mov ecx, dword [0x49d3c8]
mov byte [ecx + 0xc0], 0
jmp 0x47945b
cmp esi, 0xffffffff
jle 0x47a88d
mov dword [0x4a30f0], 0
mov dword [0x4a30f4], 0
mov dword [0x4a3100], eax
cmp byte [esp + 0x1b], 0
mov dword [0x4a3104], eax
je 0x47a8a0
mov byte [0x4a0b80], 0
cmp byte [esp + 0x19], 0
je 0x479c79
dec dword [0x4a0b90]
test esi, esi
jle 0x479c79
cmp dword [0x4a0b90], 0
jne 0x479c79
cmp dword [0x4a30b0], 0
jne 0x479c79
cmp dword [0x4a24a0], 0
jne 0x479c79