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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6ac
push ebx
push esi
xor ebx, ebx
push edi
mov edi, dword [ebp + 0x1c]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x34], 2
mov dword [esp + 0x10], ebx
cmp edi, ebx
je 0x43db8d
push 0x278
call fcn.0041da71
add esp, 4
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x24]
push ebx
mov dword [esp + 0x5c], 0x200
mov dword [esp + 0x48], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0x60], eax
mov dword [esp + 0xac], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
push eax
cmp dword [ebp + 0xc], ebx
jne 0x43db96
mov eax, dword [ebp + 8]
lea ebx, [esp + 0x18]
call fcn.004143e0
add esp, 8
xor ebx, ebx
mov esi, eax
mov dword [esp + 0x3c], esi
cmp esi, ebx
je 0x43dbac
cmp edi, ebx
je 0x403d25
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.004040d0
add esp, 4
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], edx
lea eax, [esp + 0x10]
push eax
push 0x200
push ebx
lea ecx, [esp + 0xc4]
push ebx
push ecx
mov edi, esi
call fcn.00403ee0
add esp, 0x14
cmp dword [esp + 0x10], ebx
jne 0x403da3
lea edi, [esp + 0xb8]
call fcn.00414430
test eax, eax
jne 0x403da3
mov edi, dword [esp + 0x64]
mov esi, dword [esp + 0x60]
push ebx
push 0x200
push edi
push esi
call fcn.004144e0
add esp, 0x10
cmp eax, 1
jne 0x403d9f
lea edx, [esp + 0x10]
push edx
add esi, 0xfffffe00
push 0x200
adc edi, 0xffffffff
push edi
mov edi, dword [esp + 0x48]
lea eax, [esp + 0xc4]
push esi
push eax
call fcn.00403ee0
add esp, 0x14
mov esi, dword [esp + 0x3c]
movzx eax, byte [esp + 0xb8]
cdq
shld edx, eax, 8
shl eax, 8
mov ecx, eax
movzx eax, byte [esp + 0xb9]
mov edi, edx
cdq
or ecx, eax
movzx eax, byte [esp + 0xba]
or edi, edx
shld edi, ecx, 8
cdq
shl ecx, 8
or ecx, eax
movzx eax, byte [esp + 0xbb]
or edi, edx
shld edi, ecx, 8
cdq
shl ecx, 8
or ecx, eax
movzx eax, byte [esp + 0xbc]
or edi, edx
shld edi, ecx, 8
cdq
shl ecx, 8
or ecx, eax
movzx eax, byte [esp + 0xbd]
or edi, edx
shld edi, ecx, 8
cdq
shl ecx, 8
or ecx, eax
movzx eax, byte [esp + 0xbe]
or edi, edx
shld edi, ecx, 8
cdq
shl ecx, 8
or ecx, eax
movzx eax, byte [esp + 0xbf]
or edi, edx
shld edi, ecx, 8
shl ecx, 8
cdq
or ecx, eax
cmp ecx, 0x63746978
jne 0x403e50
or edi, edx
cmp edi, 0x636f6e65
je 0x43dc26
cmp dword [ebp + 0x10], ebx
jne 0x43dbbb
mov dword [esp + 0x10], 0x56
cmp dword [esp + 0x38], ebx
je 0x403eaf
mov edi, dword [ebp + 0x1c]
cmp dword [esp + 0x10], ebx
je 0x43dbfb
mov eax, dword [esp + 0x88]
cmp eax, ebx
jne 0x43e8b4
mov eax, dword [esp + 0x9c]
cmp eax, ebx
jne 0x43e8c2
cmp dword [esp + 0x44], ebx
jne 0x43e8d0
cmp edi, ebx
je 0x403ea2
mov dword [edi], ebx
mov ecx, dword [esp + 0x38]
push ecx
call fcn.0041d994
add esp, 4
xor ebx, ebx
mov eax, esi
call fcn.004143b0
mov eax, dword [ebp + 0x20]
cmp eax, ebx
je 0x403ec9
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
je 0x403ec9
mov dword [eax], ecx
mov eax, dword [esp + 0x34]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x38], ebx
jmp 0x403c8d
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x18]
push eax
push ecx
call fcn.00468f45
add esp, 0x10
jmp 0x403cfc
cmp dword [esp + 0x10], ebx
jne 0x403e61
jmp 0x403e59
push ebx
mov ecx, esi
call fcn.004040d0
mov ecx, dword [esp + 0x5c]
push ecx
push edx
push eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], edx
call fcn.004475cc
add esp, 0x10
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], 1
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x34], 3
jmp 0x403e61
cmp edi, ebx
je 0x403e74
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov ecx, 0x9e
lea esi, [esp + 0x40]
mov edi, eax
mov dword [esp + 0x40], edx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], eax
jmp 0x403eb8
lea edi, [esp + 0xb8]
call fcn.00414430
test eax, eax
je 0x403e59
cmp dword [esp + 0x10], ebx
jne 0x403e61
mov eax, dword [ebp + 0x18]
cmp eax, ebx
je 0x43dc68
lea edi, [esp + 0xfc]
xor ecx, ecx
sub edi, eax
mov dl, byte [eax]
cmp dl, byte [edi + eax]
jne 0x403e59
inc ecx
inc eax
cmp ecx, 0x10
jb 0x43dc56
mov ecx, dword [esp + 0xf4]
movzx edx, byte [esp + 0xf6]
movzx eax, cl
shl eax, 8
movzx ecx, ch
or eax, ecx
movzx ecx, byte [esp + 0xf7]
shl eax, 8
or eax, edx
shl eax, 8
or eax, ecx
mov dword [esp + 0x20], eax
movzx eax, byte [esp + 0xc8]
cdq
shld edx, eax, 8
shl eax, 8
mov ecx, eax
movzx eax, byte [esp + 0xc9]
mov edi, edx
cdq
or ecx, eax
movzx eax, byte [esp + 0xca]
or edi, edx
shld edi, ecx, 8
cdq
or edi, edx
shl ecx, 8
or ecx, eax
movzx eax, byte [esp + 0xcb]
shld edi, ecx, 8
cdq
or edi, edx
shl ecx, 8
or ecx, eax
movzx eax, byte [esp + 0xcc]
shld edi, ecx, 8
cdq
or edi, edx
shl ecx, 8
or ecx, eax
movzx eax, byte [esp + 0xcd]
shld edi, ecx, 8
cdq
or edi, edx
shl ecx, 8
or ecx, eax
movzx eax, byte [esp + 0xce]
shld edi, ecx, 8
cdq
shl ecx, 8
or ecx, eax
movzx eax, byte [esp + 0xcf]
or edi, edx
shld edi, ecx, 8
cdq
shl ecx, 8
or ecx, eax
movzx eax, byte [esp + 0xe8]
or edi, edx
cdq
shld edx, eax, 8
shl eax, 8
mov dword [esp + 0x28], ecx
mov ecx, eax
movzx eax, byte [esp + 0xe9]
mov dword [esp + 0x2c], edi
mov edi, edx
cdq
or ecx, eax
movzx eax, byte [esp + 0xea]
or edi, edx
shld edi, ecx, 8
cdq
shl ecx, 8
or ecx, eax
movzx eax, byte [esp + 0xeb]
or edi, edx
shld edi, ecx, 8
cdq
shl ecx, 8
or ecx, eax
movzx eax, byte [esp + 0xec]
or edi, edx
shld edi, ecx, 8
cdq
shl ecx, 8
or ecx, eax
movzx eax, byte [esp + 0xed]
or edi, edx
shld edi, ecx, 8
cdq
shl ecx, 8
or ecx, eax
movzx eax, byte [esp + 0xee]
or edi, edx
shld edi, ecx, 8
cdq
shl ecx, 8
or ecx, eax
movzx eax, byte [esp + 0xef]
or edi, edx
shld edi, ecx, 8
cdq
or edi, edx
mov edx, dword [esp + 0x58]
push edx
shl ecx, 8
or ecx, eax
push edi
push ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edi
call fcn.004475cc
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x2c]
add esp, 0xc
mov dword [esp + 0x34], 3
cmp eax, 2
jne 0x43de09
mov eax, 1
mov dword [esp + 0x24], eax
jmp 0x43de35
cmp eax, 3
jne 0x43de19
mov eax, 2
mov dword [esp + 0x24], eax
jmp 0x43de35
cmp eax, 4
jne 0x43de29
mov eax, 3
mov dword [esp + 0x24], eax
jmp 0x43de35
mov eax, dword [esp + 0x24]
mov dword [esp + 0x34], 2
mov dword [esp + 0x54], eax
cmp eax, 1
jne 0x43de4b
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
jmp 0x403e61
cmp eax, 3
jne 0x43de5a
cmp dword [ebp + 0x14], ebx
jne 0x43de63
jmp 0x403e59
cmp eax, 2
jne 0x403e61
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x10]
push eax
push 0x400
push ecx
push edx
lea eax, [esp + 0x2c8]
push eax
mov edi, esi
call fcn.00403ee0
add esp, 0x14
cmp dword [esp + 0x10], ebx
jne 0x403e61
mov ecx, dword [esp + 0x2dc]
movzx edx, byte [esp + 0x2de]
movzx eax, cl
shl eax, 8
movzx ecx, ch
or eax, ecx
movzx ecx, byte [esp + 0x2df]
shl eax, 8
or eax, edx
shl eax, 8
lea edx, [esp + 0x2b8]
or eax, ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x14], edx
xor ecx, ecx
lea edx, [esp + 0x2dc]
cmp dword [esp + 0x14], edx
jne 0x43dee8
mov edx, 4
add ecx, edx
add dword [esp + 0x14], edx
movzx edi, byte [esp + ecx + 0x2b8]
mov edx, dword [esp + 0x30]
inc dword [esp + 0x14]
add edx, edi
inc ecx
mov dword [esp + 0x30], edx
cmp ecx, 0x400
jb 0x43ded0
not edx
cmp edx, eax
jne 0x403e59
movzx eax, byte [esp + 0x2b8]
cdq
shld edx, eax, 8
shl eax, 8
mov ecx, eax
movzx eax, byte [esp + 0x2b9]
mov edi, edx
cdq
or ecx, eax
movzx eax, byte [esp + 0x2ba]
or edi, edx
shld edi, ecx, 8
cdq
shl ecx, 8
or ecx, eax
movzx eax, byte [esp + 0x2bb]
or edi, edx
shld edi, ecx, 8
cdq
shl ecx, 8
or ecx, eax
movzx eax, byte [esp + 0x2bc]
or edi, edx
shld edi, ecx, 8
cdq
shl ecx, 8
or ecx, eax
movzx eax, byte [esp + 0x2bd]
or edi, edx
shld edi, ecx, 8
cdq
shl ecx, 8
or ecx, eax
movzx eax, byte [esp + 0x2be]
or edi, edx
shld edi, ecx, 8
cdq
shl ecx, 8
or ecx, eax
movzx eax, byte [esp + 0x2bf]
or edi, edx
shld edi, ecx, 8
shl ecx, 8
cdq
or ecx, eax
cmp ecx, 0x61727365
jne 0x403e59
or edi, edx
cmp edi, 0x63787370
jne 0x403e59
movzx eax, byte [esp + 0x2c8]
cdq
shld edx, eax, 8
shl eax, 8
mov ecx, eax
movzx eax, byte [esp + 0x2c9]
mov edi, edx
cdq
or ecx, eax
movzx eax, byte [esp + 0x2ca]
or edi, edx
shld edi, ecx, 8
cdq
or edi, edx
shl ecx, 8
or ecx, eax
movzx eax, byte [esp + 0x2cb]
shld edi, ecx, 8
cdq
or edi, edx
shl ecx, 8
or ecx, eax
movzx eax, byte [esp + 0x2cc]
shld edi, ecx, 8
cdq
or edi, edx
shl ecx, 8
or ecx, eax
movzx eax, byte [esp + 0x2cd]
shld edi, ecx, 8
cdq
or edi, edx
shl ecx, 8
or ecx, eax
movzx eax, byte [esp + 0x2ce]
shld edi, ecx, 8
cdq
or edi, edx
shl ecx, 8
or ecx, eax
movzx eax, byte [esp + 0x2cf]
shld edi, ecx, 8
cdq
or edi, edx
shl ecx, 8
or ecx, eax
mov eax, dword [esp + 0x2d8]
mov dword [esp + 0x84], edi
movzx edi, al
movzx edx, ah
movzx eax, byte [esp + 0x2da]
shl edi, 8
or edi, edx
mov edx, dword [esp + 0x58]
shl edi, 8
mov dword [esp + 0x80], ecx
movzx ecx, byte [esp + 0x2db]
or edi, eax
push edx
shl edi, 8
or edi, ecx
push ebx
push edi
mov dword [esp + 0x80], edi
call fcn.004475cc
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x84], eax
add eax, 7
shr eax, 3
mov dword [esp + 0x98], eax
lea eax, [eax + ecx - 1]
xor edx, edx
div ecx
push edi
dec edi
imul eax, ecx
mov dword [esp + 0xa0], eax
xor eax, eax
add edi, dword [esp + 0x58]
adc eax, dword [esp + 0x5c]
push eax
push edi
call fcn.004475cc
add esp, 0x18
mov dword [esp + 0x70], eax
mov dword [esp + 0x94], 0xffffffff
cmp dword [esp + 0x38], ebx
je 0x43e1a1
mov eax, dword [esp + 0x78]
add eax, 0x400
shr eax, 9
shl eax, 9
mov dword [esp + 0xa8], eax
cmp eax, 0x800
jae 0x43e12a
mov eax, 0x800
mov dword [esp + 0xa8], eax
add eax, eax
push eax
call fcn.0041da71
add esp, 4
mov dword [esp + 0x9c], eax
cmp eax, ebx
je 0x43e147
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x70]
add eax, eax
add eax, eax
mov dword [esp + 0x7c], eax
add eax, 0x210
push eax
call fcn.0041da71
mov edx, dword [esp + 0x80]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x8c]
push edx
mov edx, dword [esp + 0x8c]
push ecx
push edx
push eax
mov edi, esi
mov dword [esp + 0xa0], eax
call fcn.00403ee0
add esp, 0x18
cmp dword [esp + 0x10], ebx
jne 0x403e61
cmp eax, dword [esp + 0x7c]
jne 0x403e59
cmp dword [esp + 0x24], 3
jne 0x403e61
cmp dword [ebp + 0x1c], ebx
je 0x403e61
lea eax, [esp + 0x4f8]
push 0x57327275
push eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x38], ebx
call fcn.00447a57
add esp, 8
cmp eax, ebx
je 0x43e3ab
cmp dword [esp + 0x44], ebx
jne 0x43e3ab
mov edi, eax
mov eax, dword [edi + 8]
mov ecx, eax
shr ecx, 8
movzx edx, al
movzx ecx, cl
shl edx, 8
or ecx, edx
mov edx, eax
shr edx, 0x10
shl ecx, 8
movzx edx, dl
or ecx, edx
shr eax, 0x18
shl ecx, 8
or ecx, eax
mov eax, dword [esp + 0xa8]
add eax, 2
cmp ecx, eax
ja 0x43e31c
mov edx, dword [edi + 0x14]
mov dword [esp + 0x20], ecx
mov ecx, dword [edi + 0x10]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x14]
push eax
mov eax, ecx
shr eax, 8
movzx eax, al
push edx
cdq
mov edi, eax
mov eax, edx
mov dword [esp + 0x20], eax
movzx eax, cl
cdq
shld edx, eax, 8
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x20]
or ecx, edx
mov edx, dword [esp + 0x30]
shl eax, 8
or edi, eax
shld ecx, edi, 8
shr edx, 0x10
movzx eax, dl
cdq
or ecx, edx
shl edi, 8
or edi, eax
mov eax, dword [esp + 0x30]
shld ecx, edi, 8
shr eax, 0x18
cdq
shl edi, 8
or edi, eax
movzx eax, byte [esp + 0x34]
or ecx, edx
shld ecx, edi, 8
cdq
shl edi, 8
or edi, eax
mov eax, dword [esp + 0x34]
or ecx, edx
shld ecx, edi, 8
shr eax, 8
movzx eax, al
cdq
or ecx, edx
mov edx, dword [esp + 0x34]
shl edi, 8
or edi, eax
shld ecx, edi, 8
shr edx, 0x10
movzx eax, dl
cdq
shl edi, 8
or edi, eax
mov eax, dword [esp + 0x34]
or ecx, edx
shld ecx, edi, 8
shr eax, 0x18
cdq
shl edi, 8
or edi, eax
mov eax, dword [esp + 0xa8]
or ecx, edx
push ecx
push edi
push eax
mov edi, esi
call fcn.00403ee0
add esp, 0x14
cmp dword [esp + 0x14], ebx
jne 0x43e3ab
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xa0]
shr eax, 1
xor edx, edx
mov dword [esp + 0x28], ecx
mov word [ecx + eax*2], dx
cmp dword [ebp + 0xc], ebx
je 0x43e329
mov ecx, dword [ebp + 8]
jmp 0x43e360
mov dword [esp + 0x14], 0x56
jmp 0x43e3ab
mov eax, dword [esp + 0xa8]
shr eax, 1
add eax, dword [esp + 0xa0]
xor ecx, ecx
mov word [eax], cx
mov edx, dword [esp + 0xa8]
shr edx, 1
sub edx, 2
push edx
push eax
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 8]
push eax
call fcn.004479ad
mov ecx, dword [esp + 0x24]
add esp, 0xc
mov eax, dword [esp + 0xa8]
mov edx, dword [esp + 0xa0]
shr eax, 1
lea edi, [eax + edx]
mov edx, dword [esp + 0x28]
push edx
add eax, 0xfffffffe
push ecx
shr eax, 1
push eax
push edi
call fcn.00447860
push 1
lea eax, [esp + 0x28]
push eax
mov eax, dword [ebp + 0x14]
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x2fc]
push edx
dec eax
push eax
push 1
push 1
push edi
call fcn.00403c50
add esp, 0x30
lea ecx, [esp + 0x4f8]
push 0x57326b75
push ecx
call fcn.00447a57
add esp, 8
cmp eax, ebx
je 0x43e524
cmp dword [esp + 0x44], ebx
jne 0x43e524
mov edi, eax
mov eax, dword [edi + 8]
mov edx, eax
shr edx, 8
movzx ecx, dl
movzx edx, al
shl edx, 8
or ecx, edx
mov edx, eax
shr edx, 0x10
shl ecx, 8
movzx edx, dl
or ecx, edx
shr eax, 0x18
shl ecx, 8
or ecx, eax
mov eax, dword [esp + 0xa8]
add eax, 2
cmp ecx, eax
ja 0x43e51c
mov edx, dword [edi + 0x14]
mov dword [esp + 0x20], ecx
mov ecx, dword [edi + 0x10]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x24]
push eax
mov eax, ecx
shr eax, 8
movzx eax, al
push edx
cdq
mov edi, eax
mov eax, edx
mov dword [esp + 0x30], eax
movzx eax, cl
cdq
shld edx, eax, 8
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x30]
or ecx, edx
mov edx, dword [esp + 0x20]
shl eax, 8
or edi, eax
shld ecx, edi, 8
shr edx, 0x10
movzx eax, dl
cdq
or ecx, edx
shl edi, 8
or edi, eax
mov eax, dword [esp + 0x20]
shld ecx, edi, 8
shr eax, 0x18
cdq
shl edi, 8
or edi, eax
movzx eax, byte [esp + 0x24]
or ecx, edx
shld ecx, edi, 8
cdq
shl edi, 8
or edi, eax
mov eax, dword [esp + 0x24]
or ecx, edx
shld ecx, edi, 8
shr eax, 8
movzx eax, al
cdq
or ecx, edx
mov edx, dword [esp + 0x24]
shl edi, 8
or edi, eax
shld ecx, edi, 8
shr edx, 0x10
movzx eax, dl
cdq
shl edi, 8
or edi, eax
mov eax, dword [esp + 0x24]
or ecx, edx
shld ecx, edi, 8
shr eax, 0x18
cdq
shl edi, 8
or edi, eax
mov eax, dword [esp + 0xa8]
or ecx, edx
push ecx
push edi
push eax
mov edi, esi
call fcn.00403ee0
add esp, 0x14
cmp dword [esp + 0x24], ebx
jne 0x43e524
mov ecx, dword [esp + 0xa0]
mov eax, dword [esp + 0x20]
xor edx, edx
shr eax, 1
mov word [ecx + eax*2], dx
push 1
lea eax, [esp + 0x28]
push eax
lea edx, [esp + 0x4c]
push edx
mov edx, dword [ebp + 0x14]
lea eax, [esp + 0x2ec]
push eax
dec edx
push edx
push 1
push 1
push ecx
call fcn.00403c50
add esp, 0x20
jmp 0x43e524
mov dword [esp + 0x24], 0x56
lea eax, [esp + 0x4f8]
push 0x57693272
push eax
call fcn.00447a57
add esp, 8
cmp eax, ebx
je 0x43e700
cmp dword [esp + 0x44], ebx
jne 0x43e700
mov edi, eax
mov eax, dword [edi + 8]
mov ecx, eax
shr ecx, 8
movzx edx, al
movzx ecx, cl
shl edx, 8
or ecx, edx
mov edx, eax
shr edx, 0x10
shl ecx, 8
movzx edx, dl
or ecx, edx
shr eax, 0x18
shl ecx, 8
or ecx, eax
mov eax, dword [esp + 0xa8]
add eax, 2
cmp ecx, eax
ja 0x43e67a
mov edx, dword [edi + 0x14]
mov dword [esp + 0x20], ecx
mov ecx, dword [edi + 0x10]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x14]
push eax
mov eax, ecx
shr eax, 8
movzx eax, al
push edx
cdq
mov edi, eax
mov eax, edx
mov dword [esp + 0x30], eax
movzx eax, cl
cdq
shld edx, eax, 8
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x30]
or ecx, edx
mov edx, dword [esp + 0x20]
shl eax, 8
or edi, eax
shld ecx, edi, 8
shr edx, 0x10
movzx eax, dl
cdq
or ecx, edx
shl edi, 8
or edi, eax
mov eax, dword [esp + 0x20]
shld ecx, edi, 8
shr eax, 0x18
cdq
shl edi, 8
or edi, eax
movzx eax, byte [esp + 0x24]
or ecx, edx
shld ecx, edi, 8
cdq
shl edi, 8
or edi, eax
mov eax, dword [esp + 0x24]
or ecx, edx
shld ecx, edi, 8
shr eax, 8
movzx eax, al
cdq
or ecx, edx
mov edx, dword [esp + 0x24]
shl edi, 8
or edi, eax
shld ecx, edi, 8
shr edx, 0x10
movzx eax, dl
cdq
shl edi, 8
or edi, eax
mov eax, dword [esp + 0x24]
or ecx, edx
shld ecx, edi, 8
shr eax, 0x18
cdq
shl edi, 8
or edi, eax
mov eax, dword [esp + 0xa8]
or ecx, edx
push ecx
push edi
push eax
mov edi, esi
call fcn.00403ee0
add esp, 0x14
cmp dword [esp + 0x14], ebx
jne 0x43e700
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x28], eax
mov byte [ecx + eax], bl
cmp dword [ebp + 0xc], ebx
jne 0x43e687
mov edi, dword [ebp + 8]
jmp 0x43e6b1
mov dword [esp + 0x14], 0x56
jmp 0x43e700
mov edi, dword [esp + 0xa8]
mov eax, dword [ebp + 8]
shr edi, 1
add edi, dword [esp + 0xa0]
mov byte [edi], bl
mov edx, dword [esp + 0xa8]
add edx, 0xfffffffe
push edx
push edi
push eax
call fcn.004479cf
add esp, 0xc
mov eax, dword [esp + 0xa8]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0xa0]
shr eax, 1
push edx
add ecx, eax
push edi
add eax, 0xfffffffe
push eax
push ecx
mov dword [esp + 0x28], ecx
call fcn.0044790d
push 1
lea eax, [esp + 0x28]
push eax
mov eax, dword [ebp + 0x14]
lea ecx, [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x2fc]
push edx
dec eax
push eax
push 1
push ebx
push ecx
call fcn.00403c50
add esp, 0x30
lea edx, [esp + 0x4f8]
push 0x5769326b
push edx
call fcn.00447a57
add esp, 8
cmp eax, ebx
je 0x43e869
cmp dword [esp + 0x44], ebx
jne 0x403e61
mov edi, eax
mov eax, dword [edi + 8]
mov ecx, eax
shr ecx, 8
movzx edx, al
movzx ecx, cl
shl edx, 8
or ecx, edx
mov edx, eax
shr edx, 0x10
shl ecx, 8
movzx edx, dl
or ecx, edx
shr eax, 0x18
shl ecx, 8
or ecx, eax
mov eax, dword [esp + 0xa8]
add eax, 2
cmp ecx, eax
ja 0x43e875
mov edx, dword [edi + 0x14]
mov dword [esp + 0x20], ecx
mov ecx, dword [edi + 0x10]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x30]
push eax
mov eax, ecx
shr eax, 8
movzx eax, al
push edx
cdq
mov edi, eax
mov eax, edx
mov dword [esp + 0x30], eax
movzx eax, cl
cdq
shld edx, eax, 8
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x30]
or ecx, edx
mov edx, dword [esp + 0x20]
shl eax, 8
or edi, eax
shld ecx, edi, 8
shr edx, 0x10
movzx eax, dl
cdq
or ecx, edx
shl edi, 8
or edi, eax
mov eax, dword [esp + 0x20]
shld ecx, edi, 8
shr eax, 0x18
cdq
shl edi, 8
or edi, eax
movzx eax, byte [esp + 0x24]
or ecx, edx
shld ecx, edi, 8
cdq
shl edi, 8
or edi, eax
mov eax, dword [esp + 0x24]
or ecx, edx
shld ecx, edi, 8
shr eax, 8
movzx eax, al
cdq
or ecx, edx
mov edx, dword [esp + 0x24]
shl edi, 8
or edi, eax
shld ecx, edi, 8
shr edx, 0x10
movzx eax, dl
cdq
shl edi, 8
or edi, eax
mov eax, dword [esp + 0x24]
or ecx, edx
shld ecx, edi, 8
shr eax, 0x18
cdq
shl edi, 8
or edi, eax
mov eax, dword [esp + 0xa8]
or ecx, edx
push ecx
push edi
push eax
mov edi, esi
call fcn.00403ee0
add esp, 0x14
cmp dword [esp + 0x30], ebx
jne 0x43e869
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x20]
push 1
mov byte [ecx + eax], bl
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x4c]
push ecx
mov ecx, dword [ebp + 0x14]
lea edx, [esp + 0x2ec]
push edx
dec ecx
push ecx
push 1
push ebx
push eax
call fcn.00403c50
add esp, 0x20
cmp dword [esp + 0x44], ebx
jne 0x403e61
jmp 0x43e87d
mov dword [esp + 0x30], 0x56
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x43e88e
mov dword [esp + 0x10], eax
jmp 0x403e61
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x43e89f
mov dword [esp + 0x10], eax
jmp 0x403e61
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x403e59
mov dword [esp + 0x10], eax
jmp 0x403e61
push eax
call fcn.0041d994
add esp, 4
jmp 0x403e83
push eax
call fcn.0041d994
add esp, 4
jmp 0x403e92
mov eax, dword [esp + 0x44]
lea edx, [esp + 0x10]
push edx
push eax
call fcn.00447ace
add esp, 8
jmp 0x403e9c