Function at 0x47bfd2
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x14c], 0xffffffff
mov dword [ebp - 0x34], 0xfffffffa
mov dword [ebp - 0x1a4], 0xfe10ef7d
mov dword [ebp - 0x1c], 0
jmp 0x47c00d
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x47c023
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x17c], 0xe71b35d5
jmp 0x47c006
mov dword [ebp - 0x1c], 0
jmp 0x47c033
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
jge 0x47c049
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x1a0], 0
jmp 0x47c02c
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x160], eax
mov eax, 0xfffc
imul eax, eax, 0xedf6
cmp eax, dword [ebp - 0x24]
jg 0x47c074
mov dword [ebp - 0x4c], 1
jmp 0x47c078
and dword [ebp - 0x4c], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x4c]
mov dword [ebp + eax - 0x17c], ecx
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0x24]
jl 0x47c0a8
cmp dword [ebp - 0x14c], 0
je 0x47c0a8
mov dword [ebp - 0x134], 1
jmp 0x47c0af
and dword [ebp - 0x134], 0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x168], eax
mov dword [ebp - 0x24], 0x47d228d5
cmp dword [ebp - 0x24], 8
jae 0x47c0d1
mov dword [ebp - 0xac], 1
jmp 0x47c0d8
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x34], 0
jmp 0x47c0f1
mov eax, dword [ebp - 0x34]
dec eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffe3
je 0x47c199
mov dword [ebp - 0x170], 0xa0949511
mov dword [ebp - 0x190], 1
mov dword [ebp - 0x1d0], 0xffffffff
mov dword [ebp - 0x1b4], 0xc3e1b8d8
mov dword [ebp - 0x1b0], 0xc3e1b8d8
mov dword [ebp - 0x1ac], 0xc3e1b8d8
mov dword [ebp - 0x1a8], 0xc3e1b8d8
mov dword [ebp - 0x48], 0
jmp 0x47c151
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 4
jge 0x47c167
mov eax, dword [ebp - 0x48]
mov dword [ebp + eax*4 - 0x1e4], 0xdaa2
jmp 0x47c14a
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x1a0]
inc eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0x1a0], eax
push 4
pop eax
imul eax, eax, 3
cmp dword [ebp + eax - 0x1e4], 0
je 0x47c194
jmp 0x47c199
jmp 0x47c0ea
and dword [ebp - 0x10], 0
mov dword [ebp - 8], 0
jmp 0x47c1ad
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
jge 0x47c1c3
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x15c], 0xe7a66fe7
jmp 0x47c1a6
mov dword [ebp - 8], 0
jmp 0x47c1d3
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 2
jge 0x47c1e9
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x10c], 0
jmp 0x47c1cc
mov dword [ebp - 8], 0
jmp 0x47c1f9
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 4
jge 0x47c20f
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x204], 0xfc0
jmp 0x47c1f2
mov byte [ebp - 0x26], 0
movzx eax, byte [ebp - 0x26]
test eax, eax
je 0x47c223
push 0
call dword [0xad4010]
push 4
pop eax
shl eax, 0
mov dword [ebp + eax - 0x10c], 0
jmp 0x47c251
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x10c]
dec eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0x10c], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x10c], 0
jl 0x47c2a1
mov byte [ebp - 0x25], 0
movzx eax, byte [ebp - 0x25]
test eax, eax
je 0x47c275
push 0
call dword [0xad40d4]
mov byte [ebp - 0x2d], 0
movzx eax, byte [ebp - 0x2d]
test eax, eax
je 0x47c29f
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [0xad4008]
jmp 0x47c236
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x2c], 0x6e48
mov dword [ebp - 0x104], 0x56a42623
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x44], 0
jmp 0x47c2d3
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 4
jge 0x47c2e9
mov eax, dword [ebp - 0x44]
mov dword [ebp + eax*4 - 0x1f4], 0x27f4
jmp 0x47c2cc
cmp dword [ebp - 0x20], 0
je 0x47c3ab
mov dword [ebp - 0x20], 0x38c08872
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x2c]
jg 0x47c311
mov dword [ebp - 0x13c], 1
jmp 0x47c318
and dword [ebp - 0x13c], 0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x194], eax
cmp dword [ebp - 0x20], 0
jne 0x47c335
xor eax, eax
inc eax
jne 0x47c335
and dword [ebp - 0xfc], 0
jmp 0x47c33f
mov dword [ebp - 0xfc], 1
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x104], eax
jg 0x47c368
cmp dword [ebp - 0x2c], 0
je 0x47c368
mov dword [ebp - 0x144], 1
jmp 0x47c36f
and dword [ebp - 0x144], 0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x164], eax
mov eax, 0x183
cmp eax, 0xe511
je 0x47c390
mov dword [ebp - 0xf4], 1
jmp 0x47c397
and dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0xf4], eax
jg 0x47c3ab
mov dword [ebp - 0x6c], 1
jmp 0x47c3af
and dword [ebp - 0x6c], 0
cmp dword [ebp - 0x6c], 0x3ca30775
jl 0x47c3c1
mov dword [ebp - 0x70], 1
jmp 0x47c3c5
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x20], 0
jmp 0x47c3de
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
jg 0x47c416
mov dword [ebp - 0xc0], 0xffffffff
mov dword [ebp - 0x138], 0xfffffff9
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp + eax*4 - 0x1f4]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x138], eax
jmp 0x47c3d7
mov eax, dword [ebp + 8]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x80], 1
mov dword [ebp - 0x98], 0xdfc9b996
mov dword [ebp - 0x1cc], 9
mov dword [ebp - 0x16c], 0xe450bb10
mov dword [ebp - 0xa0], 0x7ddbf4d
mov dword [ebp - 0x12c], 0x67a7bf74
mov dword [ebp - 0xc], 0
jmp 0x47c465
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 2
jge 0x47c478
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x60], 0xfff6
jmp 0x47c45e
mov dword [ebp - 0xc], 0
jmp 0x47c488
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 2
jge 0x47c49b
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x78], 1
jmp 0x47c481
mov dword [ebp - 0xc], 0
jmp 0x47c4ab
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 4
jge 0x47c4c1
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x1c8], 1
jmp 0x47c4a4
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x60]
mov dword [ebp - 0x150], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x60]
cmp dword [ebp - 0x80], eax
jge 0x47c4ff
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x174], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x60], 0
jne 0x47c4ff
and dword [ebp - 0x100], 0
jmp 0x47c509
mov dword [ebp - 0x100], 1
cmp dword [ebp - 0x100], 0x960f
jge 0x47c521
mov dword [ebp - 0x88], 1
jmp 0x47c528
and dword [ebp - 0x88], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x88]
sub ecx, dword [ebp + eax - 0x60]
push 4
pop eax
shl eax, 0
mov dword [ebp + eax - 0x78], ecx
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x60], 0
je 0x47c699
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x12c]
cmp dword [ebp + eax - 0x60], ecx
jg 0x47c571
mov dword [ebp - 0xc8], 1
jmp 0x47c578
and dword [ebp - 0xc8], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x78]
cmp dword [ebp - 0xc8], eax
jne 0x47c596
mov dword [ebp - 0x90], 1
jmp 0x47c59d
and dword [ebp - 0x90], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x60]
cmp dword [ebp - 0x90], eax
jl 0x47c5bb
mov dword [ebp - 0xe8], 1
jmp 0x47c5c2
and dword [ebp - 0xe8], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1c8]
neg eax
imul eax, dword [ebp - 0xe8]
mov dword [ebp - 0x98], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x78]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x148], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1c8]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x1c8], eax
mov eax, dword [ebp - 0x128]
cmp eax, dword [ebp - 0x148]
jle 0x47c62f
mov dword [ebp - 0xd0], 1
jmp 0x47c636
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 0xfa9e
jle 0x47c65a
mov dword [ebp - 0xf8], 1
jmp 0x47c661
and dword [ebp - 0xf8], 0
cmp dword [ebp - 0xf8], 3
jl 0x47c676
mov dword [ebp - 0xa8], 1
jmp 0x47c67d
and dword [ebp - 0xa8], 0
cmp dword [ebp - 0xa8], 1
jle 0x47c68d
push 3
pop eax
test eax, eax
je 0x47c699
mov dword [ebp - 0xd8], 1
jmp 0x47c6a0
and dword [ebp - 0xd8], 0
cmp dword [ebp - 0xd8], 0xd38d
je 0x47c6b8
mov dword [ebp - 0xb0], 1
jmp 0x47c6bf
and dword [ebp - 0xb0], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x78]
imul eax, dword [ebp - 0xb0]
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0x78], eax
mov eax, dword [ebp - 0x58]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x47c6ee
xor eax, eax
jmp 0x47cc2f
mov dword [ebp - 4], 8
mov dword [ebp - 0x18], 0
jmp 0x47c705
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jge 0x47c718
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x54], 0x714ad38d
jmp 0x47c6fe
mov dword [ebp - 0x18], 0
jmp 0x47c728
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jge 0x47c73e
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x118], 0xaf5bfb66
jmp 0x47c721
mov eax, dword [ebp - 4]
add eax, 0x2167fa5c
je 0x47c7ea
cmp dword [ebp - 4], 0
je 0x47c7a1
mov eax, dword [ebp - 4]
neg eax
mov dword [ebp - 0xf0], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xf0]
mov dword [ebp + eax - 0x54], ecx
cmp dword [ebp - 0xf0], 0
je 0x47c782
mov dword [ebp - 0xb8], 1
jmp 0x47c789
and dword [ebp - 0xb8], 0
cmp dword [ebp - 0xb8], 0x184d
jge 0x47c7a1
mov dword [ebp - 0xe0], 1
jmp 0x47c7a8
and dword [ebp - 0xe0], 0
mov eax, dword [ebp - 0xe0]
add eax, 3
cmp eax, 0xffff
jae 0x47c7c1
mov dword [ebp - 0x68], 1
jmp 0x47c7c5
and dword [ebp - 0x68], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x68]
mov dword [ebp + eax - 0x118], ecx
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x54], 0
je 0x47c7ea
mov dword [ebp - 0x7c], 1
jmp 0x47c7ee
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x7c], eax
je 0x47c802
mov dword [ebp - 0x84], 1
jmp 0x47c809
and dword [ebp - 0x84], 0
cmp dword [ebp - 0x84], 0
je 0x47ca5a
mov dword [ebp - 0x14], 0x7ddbf4df
mov dword [ebp - 0x40], 0
jmp 0x47c82d
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 2
jge 0x47c843
mov eax, dword [ebp - 0x40]
mov dword [ebp + eax*4 - 0x188], 0xcd43a1e2
jmp 0x47c826
mov dword [ebp - 4], 0
jmp 0x47c853
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 2
jg 0x47ca2d
mov dword [ebp - 0xcc], 0xfffffffe
mov dword [ebp - 0x140], 0x9807
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x118]
neg eax
je 0x47c88b
mov dword [ebp - 0x8c], 1
jmp 0x47c892
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x8c], eax
jne 0x47ca0e
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1d4], eax
cmp dword [ebp - 4], 0
jne 0x47c8c2
mov eax, 0x2be2
test eax, eax
jne 0x47c8c2
and dword [ebp - 0x130], 0
jmp 0x47c8cc
mov dword [ebp - 0x130], 1
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x180], eax
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x118]
mov dword [ebp - 0x1b8], eax
mov eax, dword [ebp - 4]
cmp dword [ebp + eax*4 - 0x118], 9
je 0x47c8fe
mov dword [ebp - 0x94], 1
jmp 0x47c905
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 4]
cmp dword [ebp + eax*4 - 0x118], 0xb49a
jle 0x47c921
mov dword [ebp - 0x9c], 1
jmp 0x47c928
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x9c]
sub eax, 5
push 4
pop ecx
imul ecx, ecx, 0
cmp eax, dword [ebp + ecx - 0x54]
jl 0x47c949
mov dword [ebp - 0xa4], 1
jmp 0x47c950
and dword [ebp - 0xa4], 0
cmp dword [ebp - 0xa4], 7
jge 0x47c962
mov dword [ebp - 0x64], 1
jmp 0x47c966
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x64]
imul eax, dword [ebp - 0x14]
mov dword [ebp - 0xb4], eax
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0xb4]
mov dword [ebp + eax - 0x118], ecx
mov eax, dword [ebp - 0xb4]
sub eax, dword [ebp - 0xcc]
mov dword [ebp - 0xbc], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0xbc]
mov dword [ebp + eax - 0x188], ecx
mov eax, dword [ebp - 0x140]
cmp dword [ebp - 0xbc], eax
jne 0x47c9c4
mov dword [ebp - 0xc4], 1
jmp 0x47c9cb
and dword [ebp - 0xc4], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x54]
cmp dword [ebp - 0xc4], eax
jne 0x47c9e9
mov dword [ebp - 0x120], 1
jmp 0x47c9f0
and dword [ebp - 0x120], 0
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x18c], eax
mov eax, 0x192f
test eax, eax
jne 0x47ca0e
and dword [ebp - 0xd4], 0
jmp 0x47ca18
mov dword [ebp - 0xd4], 1
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xd4]
mov dword [ebp + eax - 0x54], ecx
jmp 0x47c84c
mov dword [ebp - 0x14], 0
jmp 0x47ca3d
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jg 0x47ca58
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x54]
sub eax, 0x7e8b7dd1
mov ecx, dword [ebp - 0x14]
mov dword [ebp + ecx*4 - 0x54], eax
jmp 0x47ca36
jmp 0x47ca8a
mov dword [ebp - 4], 0
jmp 0x47ca6a
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 4
jge 0x47ca8a
mov byte [ebp - 0x2e], 0
movzx eax, byte [ebp - 0x2e]
test eax, eax
je 0x47ca88
push 0
push 0
push 0
call dword [0xad4270]
jmp 0x47ca63
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp - 0x38]
cmp dword [eax], 0x4550
je 0x47caa8
xor eax, eax
jmp 0x47cc2f
push dword [ebp - 0x38]
push 1
push 1
lea eax, [ebp - 0x3c]
push eax
push 1
push 1
call fcn.00477515
add esp, 0x18
cmp dword [ebp - 0x3c], 0
jne 0x47cacc
xor eax, eax
jmp 0x47cc2f
push 0xbfe
lea eax, [ebp - 0x3c]
push eax
push 1
push 0x3d92
push 0x39c5
push 0x172
push 1
lea eax, [ebp - 0x154]
push eax
push 1
push 1
push 0x1858
push dword [ebp - 0x38]
push 1
push dword [ebp - 0x58]
lea eax, [ebp - 0x10]
push eax
push 0x2b96
push 0x1bdd
push 0x20d6
push 0x5029
push 0x6d81
push 0x7878
call fcn.0047af85
add esp, 0x54
push dword [ebp - 0x38]
push 1
push 0x4cbd
push 0
push dword [ebp + 8]
push 0
push 1
push 1
push dword [ebp - 0x10]
call fcn.004377d0
add esp, 0x24
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
sub ecx, dword [eax + 0x34]
mov dword [ebp - 0xdc], ecx
je 0x47cb8c
push 0xa1e
push 1
push 1
push 1
push 1
push 0x7ea4
push 0
push 0x2c6a
push 1
push dword [ebp - 0xdc]
push 0x5653
push dword [ebp - 0x10]
call fcn.0043c04b
add esp, 0x30
push dword [ebp - 0x10]
call fcn.00450715
pop ecx
test eax, eax
jne 0x47cba0
xor eax, eax
jmp 0x47cc2f
push 0
push 0x5fbf
push dword [ebp - 0x10]
push 0x45bc
push 0
push 0x2eaf
push 0
call fcn.0044f3a5
add esp, 0x1c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x47cc0e
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x3c]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0xe4], ecx
jne 0x47cbe2
xor eax, eax
jmp 0x47cc2f
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0xe4]
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0
jne 0x47cc04
xor eax, eax
jmp 0x47cc2f
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x10], 1
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x10], 0
je 0x47cc22
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xec], eax
jmp 0x47cc29
and dword [ebp - 0xec], 0
mov eax, dword [ebp - 0xec]
mov esp, ebp
pop ebp
ret