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

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0xdc
xor eax, eax
push ebx
push esi
mov esi, dword [ebp + 0x7c]
mov dword [ebp + 0x68], eax
mov dword [ebp + 0x60], eax
mov dword [ebp + 0x20], eax
mov dword [ebp + 0x40], eax
mov dword [ebp + 0x1c], eax
mov dword [ebp + 0x2c], eax
movsx eax, word [esi + 0x54]
mov ebx, dword [esi + eax*4 + 0x54]
push edi
mov edi, dword [esi + eax*4 + 0x58]
mov ecx, dword [edi + 0x3c]
push dword [ebx + 0x44]
mov dword [ebp + 0x28], edi
mov dword [ebp + 0x64], ecx
mov dword [ebp + 0x58], ebx
call fcn.00429c70
pop ecx
test eax, eax
jne 0x42c25f
cmp byte [edi + 3], al
je 0x42b9c1
cmp byte [edi + 2], al
je 0x42b9c1
cmp byte [edi + 1], 1
jne 0x42b9c1
mov ax, word [edi + 0x18]
cmp ax, word [edi + 0x10]
jne 0x42b9c1
cmp dword [ebx + 0x48], 1
je 0x42b9c1
movzx eax, byte [ebx + 5]
mov ecx, dword [ebx + 0x40]
lea ecx, [eax + ecx + 8]
call fcn.00415438
cmp eax, dword [edi + 0x48]
jne 0x42b9c1
push esi
call fcn.0042b799
pop ecx
jmp 0x42c25f
push dword [edi + 0x44]
call fcn.00429c70
xor edi, edi
pop ecx
cmp eax, edi
jne 0x42c25f
movsx eax, word [esi + 0x54]
movzx eax, word [esi + eax*2 + 0xa6]
movzx ecx, word [ebx + 0x10]
dec eax
lea edx, [eax + 3]
cmp edx, ecx
mov dword [ebp + 0x4c], edi
mov dword [ebp + 0x54], edi
mov dword [ebp + 0x50], eax
jle 0x42b9fd
add ecx, 0xfffffffe
mov dword [ebp + 0x50], ecx
mov eax, ecx
cmp eax, edi
jge 0x42ba06
mov dword [ebp + 0x50], edi
mov eax, edi
mov dword [ebp + 0x48], eax
add eax, eax
mov dword [ebp + 0x44], eax
mov esi, ebx
movzx eax, word [esi + 0x10]
cmp dword [ebp + 0x48], eax
jge 0x42ba41
movzx ecx, word [esi + 0xc]
add ecx, dword [ebp + 0x44]
mov eax, dword [esi + 0x40]
add ecx, eax
movzx edx, byte [ecx + 1]
movzx ecx, byte [ecx]
shl ecx, 8
or edx, ecx
movzx ecx, word [esi + 0x12]
and edx, ecx
add eax, edx
mov dword [ebp + edi + 4], eax
mov ecx, eax
jmp 0x42ba4e
jne 0x42ba9e
movzx eax, byte [esi + 5]
mov ecx, dword [esi + 0x40]
lea ecx, [eax + ecx + 8]
call fcn.00415438
push dword [ebp + 0x64]
lea ebx, [ebp + edi + 0x10]
mov dword [ebp + edi - 0x34], eax
call fcn.0042a23f
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x42c21a
and dword [ebp + edi - 0x24], eax
mov eax, dword [ebp + edi + 0x10]
movzx ecx, word [eax + 0x10]
movzx eax, byte [eax + 1]
add eax, dword [ebp + 0x68]
inc dword [ebp + 0x54]
add dword [ebp + 0x44], 2
inc dword [ebp + 0x48]
add edi, 4
cmp edi, 0xc
lea eax, [eax + ecx + 1]
mov dword [ebp + 0x68], eax
jl 0x42ba10
mov esi, dword [ebp + 0x64]
mov ebx, dword [ebp + 0x68]
movzx eax, word [esi + 0x1c]
movzx ecx, byte [esi + 0x13]
add ebx, 3
and ebx, 0xfffffffc
add eax, ebx
neg ecx
sbb ecx, ecx
lea eax, [ebx + eax*2 + 0x78]
and ecx, ebx
lea edi, [ecx + eax*2]
call fcn.0041bcce
mov dword [ebp + 0x40], eax
test eax, eax
jne 0x42bad5
push 7
pop ebx
jmp 0x42c21a
movzx edi, word [esi + 0x1c]
lea eax, [eax + ebx*4]
mov dword [ebp + 0x38], eax
lea eax, [eax + ebx*2]
mov dword [ebp - 0x10], eax
xor eax, eax
inc eax
mov ecx, dword [ebp + eax*4 - 0x14]
lea ecx, [ecx + edi + 0x50]
mov dword [ebp + eax*4 - 0x10], ecx
inc eax
cmp eax, 3
jl 0x42bae8
cmp byte [esi + 0x13], 0
mov eax, dword [ebp - 8]
lea eax, [edi + eax + 0x50]
mov dword [ebp + 0x3c], eax
je 0x42bb0f
add eax, edi
mov dword [ebp + 0x2c], eax
call fcn.0041c919
mov dword [ebp + 0x1c], eax
test eax, eax
je 0x42bacd
and dword [ebp + 0x6c], 0
cmp dword [ebp + 0x54], 0
jle 0x42bb62
mov eax, dword [ebp + 0x6c]
shl eax, 2
mov ebx, dword [ebp + eax + 0x10]
mov edi, dword [ebp + eax - 0x10]
push 0x4c
push ebx
push edi
mov dword [ebp + eax - 0x24], edi
call sub.MSVCR90.dll_memcpy
lea eax, [edi + 0x4c]
mov dword [edi + 0x40], eax
movzx ecx, word [esi + 0x1c]
push ecx
push dword [ebx + 0x40]
push eax
call sub.MSVCR90.dll_memcpy
add esp, 0x18
inc dword [ebp + 0x6c]
mov eax, dword [ebp + 0x6c]
cmp eax, dword [ebp + 0x54]
jl 0x42bb25
mov ecx, dword [ebp + 0x28]
movzx eax, byte [ecx + 3]
shl eax, 2
xor ebx, ebx
cmp dword [ebp + 0x54], ebx
mov dword [ebp + 0x48], eax
movzx eax, byte [ecx + 4]
mov dword [ebp + 0x24], ebx
mov dword [ebp + 0x44], eax
mov dword [ebp + 0x6c], ebx
jle 0x42bd04
mov eax, dword [ebp + 0x54]
dec eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x6c]
and dword [ebp + 0x70], 0
shl eax, 2
mov edi, dword [ebp + eax - 0x24]
movzx ecx, byte [edi + 1]
mov dword [ebp + 0x34], eax
movzx eax, word [edi + 0x10]
add eax, ecx
mov dword [ebp + 0x5c], edi
mov dword [ebp + 0x24], eax
test eax, eax
jle 0x42bc1f
mov eax, dword [ebp + 0x70]
mov ecx, edi
call fcn.0041745c
mov ecx, dword [ebp + 0x40]
push eax
lea esi, [ecx + ebx*4]
push edi
mov dword [esi], eax
call fcn.004175c1
pop ecx
pop ecx
mov ecx, dword [ebp + 0x38]
mov word [ecx + ebx*2], ax
mov eax, dword [ebp + 0x64]
cmp byte [eax + 0x13], 0
je 0x42bc13
mov eax, dword [ebp + 0x2c]
mov cl, byte [ebp + 0x6c]
and dword [ebp + 0x68], 0
add eax, ebx
mov byte [eax], cl
movzx ecx, byte [edi + 1]
test ecx, ecx
jle 0x42bc13
mov edx, dword [esi]
mov dword [ebp + 0x30], edx
lea edx, [edi + 0x14]
mov esi, dword [ebp + 0x30]
cmp dword [edx], esi
je 0x42bc10
inc dword [ebp + 0x68]
add edx, 8
cmp dword [ebp + 0x68], ecx
jl 0x42bbfc
jmp 0x42bc13
mov byte [eax], 0xff
inc ebx
inc dword [ebp + 0x70]
mov eax, dword [ebp + 0x70]
cmp eax, dword [ebp + 0x24]
jl 0x42bbb3
mov eax, dword [ebp + 0x6c]
cmp eax, dword [ebp - 0x28]
jge 0x42bcf2
mov eax, dword [ebp + 0x34]
mov eax, dword [ebp + eax + 4]
push eax
push dword [ebp + 0x58]
mov dword [ebp + 0x34], eax
call fcn.004175c1
cmp dword [ebp + 0x44], 0
pop ecx
pop ecx
movzx eax, ax
je 0x42bc5f
mov esi, dword [ebp + 0x58]
movzx eax, ax
push eax
push dword [ebp + 0x50]
call fcn.00417f55
pop ecx
pop ecx
jmp 0x42bcf2
mov ecx, dword [ebp + 0x38]
mov edx, dword [ebp + 0x60]
lea edi, [ecx + ebx*2]
mov ecx, dword [ebp + 0x3c]
mov word [edi], ax
movzx eax, ax
add dword [ebp + 0x60], eax
push eax
push dword [ebp + 0x34]
lea esi, [ecx + edx]
push esi
mov dword [ebp + 0x30], eax
call sub.MSVCR90.dll_memcpy
mov eax, dword [ebp + 0x48]
add esi, eax
mov eax, dword [ebp + 0x40]
mov dword [eax + ebx*4], esi
mov eax, dword [ebp + 0x64]
add esp, 0xc
cmp byte [eax + 0x13], 0
je 0x42bca2
mov eax, dword [ebp + 0x2c]
mov byte [eax + ebx], 0xff
push dword [ebp + 0x30]
mov esi, dword [ebp + 0x58]
push dword [ebp + 0x50]
call fcn.00417f55
mov ax, word [ebp + 0x48]
sub word [edi], ax
movzx eax, word [edi]
pop ecx
pop ecx
mov ecx, dword [ebp + 0x5c]
cmp byte [ecx + 3], 0
jne 0x42bce5
mov eax, ecx
movzx ecx, byte [eax + 5]
mov eax, dword [eax + 0x40]
lea eax, [ecx + eax + 8]
push 4
push eax
mov eax, dword [ebp + 0x40]
push dword [eax + ebx*4]
call sub.MSVCR90.dll_memcpy
add esp, 0xc
jmp 0x42bcf1
cmp ax, 4
jae 0x42bcf1
push 4
pop eax
mov word [edi], ax
inc ebx
inc dword [ebp + 0x6c]
mov eax, dword [ebp + 0x6c]
cmp eax, dword [ebp + 0x54]
jl 0x42bb8e
mov dword [ebp + 0x24], ebx
mov eax, dword [ebp + 0x64]
movzx eax, word [eax + 0x1e]
mov ecx, dword [ebp + 0x48]
lea edi, [eax + ecx - 0xc]
xor ecx, ecx
xor esi, esi
xor eax, eax
test ebx, ebx
jle 0x42bd43
mov edx, dword [ebp + 0x38]
movzx edx, word [edx + ecx*2]
lea eax, [eax + edx + 2]
cmp eax, edi
jle 0x42bd3e
sub eax, edx
mov dword [ebp + esi*4 - 4], eax
xor eax, eax
mov dword [ebp + esi*4 - 0x48], ecx
cmp dword [ebp + 0x44], eax
je 0x42bd3d
dec ecx
inc esi
inc ecx
cmp ecx, ebx
jl 0x42bd1c
mov dword [ebp + esi*4 - 4], eax
inc esi
mov dword [ebp + esi*4 - 0x4c], ebx
lea eax, [esi - 1]
mov dword [ebp + 0x70], esi
mov dword [ebp + 0x6c], eax
test eax, eax
jle 0x42bdd6
mov eax, dword [ebp + 0x6c]
mov edi, dword [ebp + 0x38]
shl eax, 2
lea ecx, [ebp + eax - 4]
mov esi, dword [ecx]
mov dword [ebp + 0x3c], ecx
lea ecx, [ebp + eax - 8]
mov dword [ebp + 0x34], ecx
mov ecx, dword [ecx]
mov dword [ebp + 0x68], ecx
lea edx, [ebp + eax - 0x4c]
mov eax, dword [edx]
dec eax
mov ecx, eax
sub ecx, dword [ebp + 0x44]
inc ecx
test esi, esi
je 0x42bda2
movzx edi, word [edi + eax*2]
mov ebx, dword [ebp + 0x68]
sub ebx, edi
mov edi, dword [ebp + 0x38]
movzx edi, word [edi + ecx*2]
dec ebx
dec ebx
lea edi, [edi + esi + 2]
cmp edi, ebx
jg 0x42bdbd
mov edi, dword [ebp + 0x38]
movzx ecx, word [edi + ecx*2]
movzx eax, word [edi + eax*2]
lea esi, [esi + ecx + 2]
push 0xfffffffffffffffe
pop ecx
sub ecx, eax
add dword [ebp + 0x68], ecx
dec dword [edx]
jmp 0x42bd7b
mov eax, dword [ebp + 0x3c]
dec dword [ebp + 0x6c]
cmp dword [ebp + 0x6c], 0
mov ecx, dword [ebp + 0x34]
mov dword [eax], esi
mov eax, dword [ebp + 0x68]
mov dword [ecx], eax
jg 0x42bd59
mov esi, dword [ebp + 0x70]
mov eax, dword [ebp + 0x28]
mov eax, dword [eax + 0x40]
movzx eax, byte [eax]
xor edi, edi
mov dword [ebp + 0x30], eax
test esi, esi
jle 0x42be7b
cmp edi, dword [ebp + 0x54]
jge 0x42be26
mov eax, edi
shl eax, 2
mov ebx, dword [ebp + eax - 0x34]
lea ecx, [ebp + eax + 0x10]
mov edx, dword [ecx]
push dword [edx + 0x44]
and dword [ecx], 0
mov dword [ebp + eax - 0x18], edx
mov dword [ebp + 0x5c], edx
mov dword [ebp + eax - 4], ebx
call fcn.00429c70
inc dword [ebp + 0x4c]
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x42c21a
jmp 0x42be53
push 0
lea eax, [ebp + edi*4 - 4]
push dword [eax - 4]
push eax
lea eax, [ebp + 0x5c]
push eax
push dword [ebp + 0x64]
call fcn.0042ad61
mov ebx, eax
add esp, 0x14
test ebx, ebx
jne 0x42c21a
mov eax, dword [ebp + 0x5c]
inc dword [ebp + 0x4c]
mov dword [ebp + edi*4 - 0x18], eax
inc edi
cmp edi, esi
jl 0x42bdec
jmp 0x42be7b
mov eax, dword [ebp + edi*4 + 0x10]
call fcn.0042b1d4
mov ebx, eax
test ebx, ebx
jne 0x42c21a
mov eax, dword [ebp + edi*4 + 0x10]
call fcn.004255e1
and dword [ebp + edi*4 + 0x10], ebx
inc edi
cmp edi, dword [ebp + 0x54]
jl 0x42be5a
lea eax, [esi - 1]
xor ecx, ecx
test eax, eax
jle 0x42befb
mov eax, ecx
shl eax, 2
lea ebx, [ecx + 1]
cmp ebx, esi
lea edi, [ebp + eax - 4]
mov edx, dword [edi]
mov dword [ebp + 0x3c], edx
mov dword [ebp + 0x5c], ecx
mov dword [ebp + 0x60], ebx
mov dword [ebp + 0x70], ebx
jge 0x42bef1
mov ebx, dword [ebp + 0x70]
mov ebx, dword [ebp + ebx*4 - 4]
cmp ebx, edx
jae 0x42beba
mov edx, dword [ebp + 0x70]
mov dword [ebp + 0x5c], edx
mov edx, ebx
inc dword [ebp + 0x70]
cmp dword [ebp + 0x70], esi
jl 0x42bea7
mov edx, dword [ebp + 0x5c]
cmp edx, ecx
jle 0x42bef1
lea eax, [ebp + eax - 0x18]
mov ecx, dword [eax]
mov dword [ebp + 0x34], ecx
mov ecx, edx
shl ecx, 2
lea edx, [ebp + ecx - 4]
mov ebx, dword [edx]
lea ecx, [ebp + ecx - 0x18]
mov dword [edi], ebx
mov edi, dword [ecx]
mov dword [eax], edi
mov eax, dword [ebp + 0x3c]
mov dword [edx], eax
mov eax, dword [ebp + 0x34]
mov dword [ecx], eax
mov ecx, dword [ebp + 0x60]
lea eax, [esi - 1]
cmp ecx, eax
jl 0x42be89
xor edi, edi
cmp dword [ebp + 0x4c], edi
mov dword [ebp + 0x6c], edi
jle 0x42c171
jmp 0x42bf0e
mov edi, dword [ebp + 0x70]
mov ebx, dword [ebp + 0x6c]
push dword [ebp + 0x30]
shl ebx, 2
mov esi, dword [ebp + ebx - 0x18]
call fcn.00417b79
mov eax, dword [ebp + 0x38]
lea eax, [eax + edi*2]
lea ebx, [ebp + ebx - 0x48]
push eax
mov eax, dword [ebp + 0x40]
mov dword [ebp + 0x3c], ebx
mov ebx, dword [ebx]
lea eax, [eax + edi*4]
mov dword [ebp + 0x5c], ebx
push eax
sub ebx, edi
call fcn.00417ffc
mov eax, dword [ebp + 0x64]
add esp, 0xc
cmp byte [eax + 0x13], 0
je 0x42bfd1
cmp edi, dword [ebp + 0x5c]
mov dword [ebp + 0x70], edi
jge 0x42bfd1
and dword [ebp + 0x60], 0
mov eax, dword [ebp + 0x2c]
mov ecx, dword [ebp + 0x70]
mov al, byte [ecx + eax]
cmp al, 0xff
je 0x42bf79
movzx eax, al
mov eax, dword [ebp + eax*4 - 0x24]
mov eax, dword [eax + 0x48]
cmp eax, dword [esi + 0x48]
je 0x42bfc1
mov eax, dword [ebp + 0x60]
mov ecx, esi
call fcn.0041745c
push eax
mov edi, esi
call fcn.0042a1ac
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x42c21a
cmp dword [ebp + 0x48], eax
jne 0x42bfc1
mov eax, dword [ebp + 0x40]
mov ecx, dword [ebp + 0x70]
push dword [esi + 0x48]
mov ecx, dword [eax + ecx*4]
call fcn.00415438
mov ecx, dword [ebp + 0x64]
mov bl, 5
call fcn.0042a0c0
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x42c21a
inc dword [ebp + 0x70]
mov eax, dword [ebp + 0x3c]
mov ecx, dword [ebp + 0x70]
inc dword [ebp + 0x60]
cmp ecx, dword [eax]
jl 0x42bf5d
mov eax, dword [ebp + 0x4c]
mov ebx, dword [ebp + 0x5c]
dec eax
cmp dword [ebp + 0x6c], eax
mov dword [ebp + 0x70], ebx
jge 0x42c13b
cmp ebx, dword [ebp + 0x24]
jge 0x42c13b
mov eax, dword [ebp + 0x40]
mov ecx, dword [eax + ebx*4]
mov edx, dword [ebp + 0x20]
mov dword [ebp + 0x68], ecx
mov ecx, dword [ebp + 0x38]
movzx ecx, word [ecx + ebx*2]
movzx edi, cx
add edi, dword [ebp + 0x48]
mov dword [ebp + 0x3c], ecx
mov ecx, dword [ebp + 0x1c]
add ecx, edx
cmp byte [esi + 3], 0
mov dword [ebp + 0x5c], edi
mov dword [ebp + 0x60], ecx
jne 0x42c077
mov eax, dword [esi + 0x40]
push 4
push dword [ebp + 0x68]
add eax, 8
push eax
call sub.MSVCR90.dll_memcpy
mov eax, dword [ebp + 0x64]
add esp, 0xc
cmp byte [eax + 0x13], 0
je 0x42c0d2
mov eax, dword [ebp + 0x2c]
mov bl, byte [ebx + eax]
cmp bl, 0xff
je 0x42c055
movzx eax, bl
mov eax, dword [ebp + eax*4 - 0x24]
mov eax, dword [eax + 0x48]
cmp eax, dword [esi + 0x48]
je 0x42c0d2
push dword [esi + 0x48]
mov ecx, dword [ebp + 0x68]
call fcn.00415438
mov ecx, dword [ebp + 0x64]
mov bl, 5
call fcn.0042a0c0
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x42c21a
jmp 0x42c0d2
cmp dword [ebp + 0x44], 0
je 0x42c0b7
dec ebx
push dword [eax + ebx*4]
mov dword [ebp + 0x70], ebx
push esi
lea ebx, [ebp - 0x68]
call fcn.004174a5
mov eax, dword [ebp + 0x60]
lea ecx, [ebp + 0x5c]
push ecx
xor edi, edi
push edi
push edi
push edi
push dword [ebp - 0x5c]
mov dword [ebp + 0x68], eax
push dword [ebp - 0x60]
push edi
push eax
mov eax, dword [ebp + 0x58]
call fcn.0042b3f0
mov dword [ebp + 0x60], edi
mov edi, dword [ebp + 0x5c]
add esp, 0x28
jmp 0x42c0d2
sub dword [ebp + 0x68], 4
cmp word [ebp + 0x3c], 4
jne 0x42c0d2
push dword [ebp + 0x68]
push dword [ebp + 0x58]
call fcn.004175c1
pop ecx
pop ecx
movzx edi, ax
mov eax, dword [ebp + 0x60]
mov edx, dword [ebp + 0x58]
add dword [ebp + 0x20], edi
push 4
push dword [ebp + 0x68]
mov ecx, edi
push dword [ebp + 0x50]
call fcn.0042b5d8
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x42c21a
mov eax, dword [ebp + 0x50]
mov ecx, dword [ebp + 0x58]
call fcn.0041745c
mov ecx, dword [esi + 0x48]
call fcn.00415457
mov eax, dword [ebp + 0x64]
cmp byte [eax + 0x13], bl
je 0x42c135
cmp dword [ebp + 0x44], ebx
jne 0x42c135
mov edi, dword [ebp + 0x58]
mov eax, dword [ebp + 0x50]
mov ecx, edi
call fcn.0041745c
push eax
call fcn.0042a1ac
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x42c21a
inc dword [ebp + 0x70]
inc dword [ebp + 0x50]
mov eax, dword [ebp + 0x64]
cmp byte [eax + 0x13], 0
je 0x42c162
mov eax, dword [ebp + 0x58]
push dword [eax + 0x48]
mov eax, dword [esi + 0x48]
mov ecx, dword [ebp + 0x64]
mov bl, 5
call fcn.0042a0c0
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x42c21a
inc dword [ebp + 0x6c]
mov eax, dword [ebp + 0x6c]
cmp eax, dword [ebp + 0x4c]
jl 0x42bf0b
test byte [ebp + 0x30], 8
mov ecx, dword [ebp + 0x58]
mov esi, dword [ebp + 0x4c]
jne 0x42c1c7
mov eax, dword [ebp + 0x54]
mov eax, dword [ebp + eax*4 - 0x28]
mov edi, dword [eax + 0x40]
mov ebx, dword [ebp + esi*4 - 0x1c]
mov eax, dword [ebx + 0x40]
push 4
add edi, 8
add eax, 8
push edi
push eax
call sub.MSVCR90.dll_memcpy
mov eax, dword [ebp + 0x64]
add esp, 0xc
cmp byte [eax + 0x13], 0
je 0x42c1c4
push dword [ebx + 0x48]
mov ecx, edi
call fcn.00415438
mov ecx, dword [ebp + 0x64]
mov bl, 5
call fcn.0042a0c0
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x42c21a
mov ecx, dword [ebp + 0x58]
movzx eax, word [ecx + 0x10]
movzx edx, byte [ecx + 1]
add edx, eax
mov eax, dword [ebp + 0x50]
cmp eax, edx
jne 0x42c1e5
movzx eax, byte [ecx + 5]
mov ecx, dword [ecx + 0x40]
lea eax, [eax + ecx + 8]
jmp 0x42c1ea
call fcn.0041745c
mov ecx, dword [ebp + esi*4 - 8]
call fcn.00415457
mov eax, dword [ebp + 0x40]
call fcn.0041bd95
mov eax, dword [ebp + 0x28]
and dword [ebp + 0x40], 0
call fcn.004255e1
mov eax, dword [ebp + 0x7c]
dec word [eax + 0x54]
push 0
push eax
call fcn.0042c54d
pop ecx
pop ecx
mov ebx, eax
mov esi, dword [ebp + 0x1c]
call fcn.004162c5
mov eax, dword [ebp + 0x40]
call fcn.0041bd95
xor esi, esi
cmp dword [ebp + 0x54], esi
jle 0x42c240
mov eax, dword [ebp + esi*4 + 0x10]
call fcn.004255e1
inc esi
cmp esi, dword [ebp + 0x54]
jl 0x42c231
xor esi, esi
cmp dword [ebp + 0x4c], esi
jle 0x42c256
mov eax, dword [ebp + esi*4 - 0x18]
call fcn.004255e1
inc esi
cmp esi, dword [ebp + 0x4c]
jl 0x42c247
mov eax, dword [ebp + 0x28]
mov byte [eax + 1], 0
mov eax, ebx
pop edi
pop esi
pop ebx
add ebp, 0x74
leave
ret