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

Disassembly:
sub esp, 0x8c
push ebx
mov ebx, dword [esp + 0x9c]
push ebp
mov ebp, dword [esp + 0x98]
mov ecx, dword [ebp]
xor edx, edx
push esi
mov esi, dword [ebp + 8]
cmp esi, edx
mov dword [esp + 0xc], esi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x34], edx
mov dword [esp + 0x14], ecx
jne 0x47b293
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x8c
ret
push edi
mov edi, dword [esp + 0xa4]
cmp edi, edx
mov eax, 0x65
je 0x47b2a7
movzx eax, byte [edi]
mov dword [esp + 0x14], eax
add eax, 0xffffffed
cmp eax, 0x8c
ja case.0x47b2c0.21
movzx eax, byte [eax + 0x47be58]
jmp dword [eax*4 + 0x47bdf4]
movsx ecx, word [edi + 0x22]
mov eax, dword [edi + 0x28]
cmp byte [eax], 0
mov edx, dword [eax + 0x1c]
lea ecx, [ecx + ecx*2]
lea ecx, [edx + ecx*8]
jne 0x47b2ee
mov eax, dword [ecx + 0x10]
pop edi
pop esi
pop ebp
mov dword [esp + 0x14], eax
pop ebx
add esp, 0x8c
ret
cmp byte [eax + 1], 0
je 0x47b30d
mov ecx, dword [ecx + 0xc]
mov edx, dword [eax + 8]
push ebx
push ecx
push edx
push 0x2b
push esi
call fcn.00457de0
add esp, 0x14
jmp 0x47bd6a
xor edx, edx
mov eax, dword [edi + 0x1c]
cmp eax, edx
jge 0x47b335
mov ecx, dword [ebp + 0x68]
cmp ecx, edx
jle 0x47b332
movsx eax, word [edi + 0x20]
pop edi
pop esi
add eax, ecx
pop ebp
mov dword [esp + 0x14], eax
pop ebx
add esp, 0x8c
ret
mov eax, dword [ebp + 0x6c]
movzx ecx, byte [edi + 0x26]
movsx edx, word [edi + 0x20]
push ecx
push ebx
push eax
mov eax, dword [edi + 0x2c]
push edx
push eax
push ebp
call fcn.004790a0
add esp, 0x18
mov dword [esp + 0x20], eax
jmp 0x47bd6a
mov ecx, ebx
push ecx
xor ebx, ebx
mov eax, edi
mov ecx, ebp
call fcn.00478d40
add esp, 4
jmp 0x47bd6a
mov esi, dword [edi + 8]
mov edi, dword [esp + 0x10]
mov edx, ebx
push edx
push 0
call fcn.00478cc0
jmp 0x47bd67
mov eax, dword [edi + 8]
push 0
push eax
push 0
push ebx
push 0
push 0x61
push esi
call fcn.0045a660
add esp, 0x1c
jmp 0x47bd6a
push ebx
push 0
push 0x1a
push esi
call fcn.00457ef0
add esp, 0x10
jmp 0x47bd6a
mov edi, dword [edi + 8]
add edi, 2
push edi
call fcn.0045ae30
add esp, 4
sub eax, 1
push eax
push edi
push esi
mov dword [esp + 0x1c], eax
call fcn.0044c910
add esp, 4
push eax
call fcn.0045bd40
push 0xffffffffffffffff
push eax
mov eax, dword [esp + 0x24]
cdq
push 0
sub eax, edx
push ebx
sar eax, 1
push eax
push 0x1b
push esi
call fcn.0045a660
add esp, 0x28
jmp 0x47bd6a
movsx ecx, word [edi + 0x20]
push ebx
push ecx
push 0x1c
push esi
call fcn.00457ef0
mov edx, dword [edi + 8]
add esp, 0x10
cmp byte [edx + 1], 0
je 0x47bd6a
movsx eax, word [edi + 0x20]
mov ecx, dword [ebp + 0x208]
mov edx, dword [ecx + eax*4 - 4]
push 0xfffffffffffffffe
push edx
push 0xffffffffffffffff
push esi
call fcn.00458470
add esp, 0x10
jmp 0x47bd6a
mov eax, dword [edi + 0x1c]
pop edi
pop esi
pop ebp
mov dword [esp + 0x14], eax
pop ebx
add esp, 0x8c
ret
mov ecx, dword [edi + 0xc]
push ebx
push ecx
push ebp
call fcn.0047b250
add esp, 0xc
mov dword [esp + 0x20], eax
jmp 0x47bd6a
mov edx, dword [edi + 0xc]
push ebx
push edx
push ebp
call fcn.0047b250
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 8]
push 0
push eax
call fcn.0045e280
movsx edi, al
add esp, 0x14
add edi, 0x2e
cmp dword [esp + 0x20], ebx
je 0x47b4a0
mov ecx, dword [esp + 0x20]
push ebx
push ecx
push 0x1f
push esi
call fcn.00457ef0
add esp, 0x10
mov dword [esp + 0x20], ebx
jmp 0x47b4a4
mov ebx, dword [esp + 0x20]
push ebx
push edi
push esi
call fcn.00457e90
push 1
push ebx
push ebp
call fcn.00478f30
add esp, 0x18
jmp 0x47bd6a
mov eax, dword [edi + 0xc]
lea edx, [esp + 0x30]
push edx
push eax
push ebp
call fcn.0047bef0
mov edx, dword [edi + 0x10]
lea ecx, [esp + 0x44]
push ecx
push edx
push ebp
mov esi, eax
call fcn.0047bef0
push 0x10
push ebx
push eax
mov eax, dword [esp + 0x38]
push esi
push eax
mov eax, dword [edi + 0x10]
mov edi, dword [edi + 0xc]
push ebp
call fcn.004797d0
add esp, 0x30
jmp 0x47bd6a
mov edx, dword [edi + 0xc]
lea ecx, [esp + 0x30]
push ecx
push edx
push ebp
call fcn.0047bef0
mov ecx, dword [edi + 0x10]
mov esi, eax
lea eax, [esp + 0x44]
push eax
push ecx
push ebp
call fcn.0047bef0
xor edx, edx
cmp dword [esp + 0x2c], 0x49
push 0x90
sete dl
push ebx
push eax
mov eax, dword [edi + 0x10]
mov edi, dword [edi + 0xc]
push esi
add edx, 0x4e
push edx
push ebp
call fcn.004797d0
add esp, 0x30
jmp 0x47bd6a
mov ecx, dword [edi + 0xc]
lea eax, [esp + 0x30]
push eax
push ecx
push ebp
call fcn.0047bef0
lea edx, [esp + 0x44]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0x10]
push edx
push eax
push ebp
call fcn.0047bef0
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
push ebx
push ecx
push eax
push edx
push esi
call fcn.00457de0
add esp, 0x2c
jmp 0x47bd6a
mov eax, dword [edi + 0xc]
mov cl, byte [eax]
cmp cl, 0x84
jne 0x47b5ad
mov ecx, ebx
push ecx
mov ebx, 1
mov ecx, ebp
call fcn.00478d40
mov edx, dword [esp + 0xac]
add esp, 4
mov dword [esp + 0x20], edx
jmp 0x47bd6a
cmp cl, 0x85
jne 0x47b5d6
mov esi, dword [eax + 8]
mov edi, dword [esp + 0x10]
mov edx, ebx
push edx
push 1
call fcn.00478cc0
mov edx, dword [esp + 0xb0]
add esp, 8
mov dword [esp + 0x20], edx
jmp 0x47bd6a
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x40]
push ecx
push ebp
mov byte [esp + 0x48], 0x84
mov dword [esp + 0x4c], 0x4400
mov dword [esp + 0x50], edx
call fcn.0047bef0
lea edx, [esp + 0x44]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0xc]
push edx
push eax
push ebp
call fcn.0047bef0
mov ecx, dword [esp + 0x34]
push ebx
push ecx
push eax
push 0x5a
push esi
call fcn.00457de0
mov edx, dword [esp + 0xd4]
add esp, 0x2c
mov dword [esp + 0x20], edx
jmp 0x47bd6a
mov ecx, dword [edi + 0xc]
lea eax, [esp + 0x30]
push eax
push ecx
push ebp
call fcn.0047bef0
mov edx, dword [esp + 0x20]
push ebx
push eax
push edx
push esi
mov dword [esp + 0x3c], ebx
call fcn.00457ef0
add esp, 0x1c
jmp 0x47bd6a
push ebx
push 1
push 0x17
push esi
call fcn.00457ef0
mov ecx, dword [edi + 0xc]
lea eax, [esp + 0x40]
push eax
push ecx
push ebp
call fcn.0047bef0
mov edx, dword [esp + 0x30]
push eax
push edx
push esi
call fcn.00457e90
push 0xffffffffffffffff
push ebx
push 0x22
push esi
mov edi, eax
call fcn.00457ef0
push edi
push esi
call fcn.00458250
add esp, 0x40
jmp 0x47bd6a
mov eax, dword [edi + 0x28]
cmp eax, edx
jne 0x47b6b4
mov eax, dword [edi + 8]
push eax
push str.misuse_of_aggregate:__s__
push ebp
call fcn.0045aec0
add esp, 0xc
jmp 0x47bd6a
movsx ecx, word [edi + 0x22]
mov edx, dword [eax + 0x28]
pop edi
pop esi
shl ecx, 4
mov eax, dword [ecx + edx + 8]
pop ebp
mov dword [esp + 0x14], eax
pop ebx
add esp, 0x8c
ret
test dword [edi + 4], 0x4000
mov ecx, dword [ecx + 0x10]
mov eax, dword [ecx + 0xc]
mov cl, byte [eax + 0x4d]
mov dword [esp + 0x2c], edx
mov byte [esp + 0x14], cl
mov dword [esp + 0x34], edx
je 0x47b6f5
mov dword [esp + 0x28], edx
jmp 0x47b702
mov eax, dword [edi + 0x14]
cmp eax, edx
mov dword [esp + 0x28], eax
je 0x47b702
mov edx, dword [eax]
mov eax, dword [edi + 8]
push eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x14], eax
call fcn.0045ae30
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
push 0
push ecx
mov ecx, dword [esp + 0x24]
push edx
push eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x24]
push eax
push ecx
call fcn.0046d2d0
add esp, 0x1c
test eax, eax
mov dword [esp + 0x14], eax
jne 0x47b75b
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
push edx
push eax
push str.unknown_function:__.s__
push ebp
call fcn.0045aec0
add esp, 0x10
jmp 0x47bd6a
mov ecx, eax
movzx eax, word [ecx + 2]
test eax, 0x200
je 0x47b7eb
push esi
call fcn.00457f10
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x1c], eax
mov eax, dword [edx + 8]
mov ecx, dword [eax]
push ebx
push ecx
push ebp
call fcn.004792f0
mov eax, dword [esp + 0x34]
add esp, 0x10
cmp eax, 1
jle 0x47b7e2
add eax, 0xffffffff
mov edi, 0x18
mov dword [esp + 0x10], eax
nop
mov edx, dword [esp + 0x18]
push edx
push ebx
push 0x4d
push esi
call fcn.00457ef0
push 1
push ebx
push ebp
call fcn.00478f30
add dword [ebp + 0x70], 1
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + 8]
mov edx, dword [edi + ecx]
push ebx
push edx
push ebp
call fcn.004792f0
push 1
push ebp
call fcn.00478fa0
add esp, 0x30
add edi, 0x18
sub dword [esp + 0x10], 1
jne 0x47b7a0
mov eax, dword [esp + 0x18]
jmp 0x47bd60
test eax, 0x400
je 0x47b80b
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 8]
mov eax, dword [edx]
push ebx
push eax
push ebp
call fcn.004792f0
add esp, 0xc
jmp 0x47bd6a
mov ecx, dword [esp + 0x24]
xor eax, eax
cmp ecx, eax
mov dword [esp + 0x10], eax
jle 0x47b894
mov dword [esp + 0x1c], eax
lea ecx, [ecx]
cmp eax, 0x20
jge 0x47b84f
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 8]
mov eax, dword [esp + 0x1c]
mov ecx, dword [edx + eax]
push ecx
call fcn.00478990
add esp, 4
test eax, eax
je 0x47b84f
mov ecx, dword [esp + 0x10]
mov edx, 1
shl edx, cl
or dword [esp + 0x2c], edx
mov eax, dword [esp + 0x14]
test byte [eax + 2], 0x20
je 0x47b87c
cmp dword [esp + 0x34], 0
jne 0x47b87c
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 8]
mov eax, dword [esp + 0x1c]
mov ecx, dword [edx + eax]
push ecx
push ebp
call fcn.00477eb0
add esp, 8
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
add dword [esp + 0x1c], 0x18
add eax, 1
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x47b820
cmp dword [esp + 0x28], 0
je 0x47b910
cmp dword [esp + 0x2c], 0
je 0x47b8b3
mov eax, dword [ebp + 0x4c]
lea edx, [eax + 1]
add ecx, eax
mov dword [esp + 0x1c], edx
mov dword [ebp + 0x4c], ecx
jmp 0x47b8c5
mov eax, dword [esp + 0x24]
push eax
push ebp
call fcn.00479570
add esp, 8
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x14]
test byte [edx + 2], 0xc0
je 0x47b8ed
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + 8]
mov eax, dword [eax]
mov cl, byte [eax]
cmp cl, 0x9a
je 0x47b8e4
cmp cl, 0x9c
jne 0x47b8ed
mov cl, byte [edx + 2]
and cl, 0xc0
mov byte [eax + 0x26], cl
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
add dword [ebp + 0x70], 1
push 3
push edx
push eax
push ebp
call fcn.0047a710
push 1
push ebp
call fcn.00478fa0
add esp, 0x18
jmp 0x47b918
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x24]
cmp eax, 2
jl 0x47b933
test byte [edi + 4], 0x80
je 0x47b933
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 0x18]
jmp 0x47b940
test eax, eax
jle 0x47b95c
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 8]
mov eax, dword [edx]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x1c]
push ecx
push edx
push eax
call fcn.0045d1c0
mov dword [esp + 0x24], eax
add esp, 0x10
mov ecx, dword [esp + 0x14]
test byte [ecx + 2], 0x20
je 0x47b990
cmp dword [esp + 0x34], 0
jne 0x47b978
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 8]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x34]
push 0xfffffffffffffffc
push ecx
push 0
push 0
push 0
push 0x21
push esi
call fcn.0045a660
add esp, 0x1c
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
push 0xfffffffffffffffb
push edx
push ebx
push eax
push ecx
push 1
push esi
call fcn.0045a660
mov edi, dword [esp + 0x40]
push edi
push esi
call fcn.00458230
add esp, 0x24
test edi, edi
je 0x47bd6a
cmp dword [esp + 0x2c], 0
jne 0x47bd6a
mov eax, dword [esp + 0x1c]
mov edx, edi
push edx
push eax
push ebp
call fcn.004795a0
add esp, 0xc
jmp 0x47bd6a
push 0
push 0
push edi
push ebp
call fcn.0047a910
add esp, 0x10
mov dword [esp + 0x20], eax
jmp 0x47bd6a
push esi
call fcn.00457f10
mov ebx, eax
push esi
mov dword [esp + 0x20], ebx
call fcn.00457f10
mov ecx, dword [esp + 0xb0]
push ecx
push 0
push 0x1a
push esi
mov dword [esp + 0x28], eax
call fcn.00457ef0
mov edx, dword [esp + 0x28]
push edx
push ebx
mov eax, edi
mov ebx, ebp
call fcn.0047b020
mov edi, dword [esp + 0xc8]
push edi
push 1
push 0x17
push esi
call fcn.00457ef0
mov eax, dword [esp + 0x48]
push eax
push esi
call fcn.00457f60
push 0
push edi
push 0x22
push esi
call fcn.00457ef0
mov ecx, dword [esp + 0x58]
add esp, 0x48
push ecx
jmp 0x47bd61
mov edx, dword [edi + 0x14]
mov ecx, dword [edx + 8]
mov eax, dword [edi + 0xc]
mov edi, dword [ecx]
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x30]
push ecx
push eax
push ebp
mov dword [esp + 0x1c], eax
call fcn.0047bef0
lea edx, [esp + 0x44]
push edx
push edi
push ebp
mov dword [esp + 0x34], eax
call fcn.0047bef0
push ebp
mov dword [esp + 0x48], eax
call fcn.00479500
mov edx, eax
push ebp
mov dword [esp + 0x34], edx
call fcn.00479500
mov ecx, dword [esp + 0x3c]
push 0x10
push edx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x54]
push eax
push ecx
push 0x53
mov eax, edi
mov edi, dword [esp + 0x44]
push ebp
call fcn.004797d0
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
mov edi, dword [edx + 0x18]
push eax
push ebp
call fcn.00479530
add esp, 0x40
lea ecx, [esp + 0x38]
push ecx
push edi
push ebp
call fcn.0047bef0
mov edx, dword [esp + 0x24]
push 0x10
push edx
push eax
mov eax, dword [esp + 0x34]
push eax
push 0x51
mov eax, edi
mov edi, dword [esp + 0x30]
push ebp
call fcn.004797d0
mov edi, dword [esp + 0x38]
push ebx
mov ebx, dword [esp + 0x40]
push ebx
push edi
push 0x48
push esi
call fcn.00457de0
push edi
push ebp
call fcn.00479530
add esp, 0x40
push ebx
push ebp
call fcn.00479530
jmp 0x47bd67
mov eax, dword [edi + 0x2c]
movsx edx, word [eax + 0x26]
add edx, 1
imul edx, dword [edi + 0x1c]
mov dword [esp + 0x10], eax
movsx eax, word [edi + 0x20]
push ebx
lea ecx, [edx + eax + 1]
push ecx
push 0x7c
push esi
call fcn.00457ef0
movzx eax, word [edi + 0x20]
add esp, 0x10
test ax, ax
jl 0x47bd6a
movsx eax, ax
lea edx, [eax + eax*2]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
cmp byte [ecx + edx*8 + 0x15], 0x65
jne 0x47bd6a
push ebx
push 0x24
push esi
call fcn.00457e90
add esp, 0xc
jmp 0x47bd6a
cmp dword [ebp + 0x1cc], edx
jne 0x47bbad
push str.RAISE___may_only_be_used_within_a_trigger_program
push ebp
call fcn.0045aec0
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x8c
ret
cmp byte [edi + 1], 2
jne 0x47bbbc
push ebp
call fcn.0045f6a0
add esp, 4
mov al, byte [edi + 1]
cmp al, 4
push 0
jne 0x47bbdf
mov edx, dword [edi + 8]
push edx
push 0
push 4
push 0
push 0x16
push esi
call fcn.0045a660
add esp, 0x1c
jmp 0x47bd6a
mov ecx, dword [edi + 8]
push 0
push ecx
movsx edx, al
push edx
push 0x713
push ebp
call fcn.0045f6c0
add esp, 0x18
jmp 0x47bd6a
mov eax, dword [edi + 0x14]
mov ecx, dword [eax + 8]
mov dword [esp + 0x2c], edx
mov edx, dword [eax]
push esi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], edx
call fcn.00457f10
mov edi, dword [edi + 0xc]
add esp, 4
test edi, edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x34], edi
je 0x47bc84
mov eax, edi
mov esi, eax
mov ecx, 0xc
lea edi, [esp + 0x3c]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x30]
push ecx
push eax
push ebp
call fcn.0047bef0
mov dl, byte [esp + 0x48]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x48]
lea ecx, [esp + 0x78]
add esp, 0xc
and dword [esp + 0x40], 0xffffefff
mov byte [esp + 0x62], dl
mov byte [esp + 0x3c], 0x9f
mov byte [esp + 0x6c], 0x4f
mov dword [esp + 0x78], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], 0
mov ecx, dword [esp + 0x14]
lea eax, [ecx - 1]
test eax, eax
jle 0x47bd23
mov ecx, dword [esp + 0x18]
add eax, 0xffffffff
shr eax, 1
add eax, 1
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], eax
jmp 0x47bcb4
mov ecx, dword [esp + 0x18]
add dword [ebp + 0x70], 1
cmp dword [esp + 0x34], 0
je 0x47bcc7
mov edx, dword [ecx]
mov dword [esp + 0x7c], edx
jmp 0x47bccd
mov eax, dword [ecx]
mov dword [esp + 0x2c], eax
push esi
call fcn.00457f10
mov ecx, dword [esp + 0x30]
push 8
mov edi, eax
push edi
push ecx
push ebp
call fcn.0047c410
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 0x18]
push ebx
push eax
push ebp
call fcn.004792f0
mov ecx, dword [esp + 0x44]
push ecx
push 0
push 0x10
push esi
call fcn.00457ef0
push 1
push ebp
call fcn.00478fa0
push edi
push esi
call fcn.00457f60
add dword [esp + 0x58], 0x30
add esp, 0x40
sub dword [esp + 0x10], 1
jne 0x47bcb0
mov ecx, dword [esp + 0x14]
test cl, 1
push ebx
je 0x47bd4f
add dword [ebp + 0x70], 1
mov eax, dword [esp + 0x2c]
lea edx, [ecx + ecx*2]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + edx*8 - 0x18]
push edx
push ebp
call fcn.004792f0
push 1
push ebp
call fcn.00478fa0
add esp, 0x14
jmp 0x47bd5c
push 0
push 0x1a
push esi
call fcn.00457ef0
add esp, 0x10
mov eax, dword [esp + 0x24]
push eax
push esi
call fcn.00457f60
add esp, 8
mov edx, dword [esp + 0x30]
test edx, edx
je 0x47bd9b
mov bl, byte [ebp + 0x13]
cmp bl, 8
jae 0x47bd9b
xor eax, eax
lea ecx, [ebp + 0x78]
nop
cmp dword [ecx + 0x10], edx
je 0x47bdda
add eax, 1
add ecx, 0x18
cmp eax, 0xa
jl 0x47bd80
movzx ecx, bl
mov dword [ebp + ecx*4 + 0x1c], edx
add byte [ebp + 0x13], 1
mov edx, dword [esp + 0x38]
test edx, edx
je 0x47bdcb
mov bl, byte [ebp + 0x13]
cmp bl, 8
jae 0x47bdcb
xor eax, eax
lea ecx, [ebp + 0x78]
cmp dword [ecx + 0x10], edx
je 0x47bde0
add eax, 1
add ecx, 0x18
cmp eax, 0xa
jl 0x47bdb0
movzx eax, bl
mov dword [ebp + eax*4 + 0x1c], edx
add byte [ebp + 0x13], 1
mov eax, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret
mov byte [ecx + 8], 1
jmp 0x47bd9b
mov eax, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov byte [ecx + 8], 1
pop ebx
add esp, 0x8c
ret