Function at 0x40b890
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x462500
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1bc
mov al, byte [esp + 0xb]
push ebx
push ebp
xor ebp, ebp
push esi
push edi
mov dword [esp + 0x78], ecx
mov byte [esp + 0x24], al
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
lea ecx, [esp + 0x38]
mov dword [esp + 0x1d4], ebp
call fcn.0043f6d0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1d4], 1
call fcn.0043f6d0
mov cl, byte [esp + 0x1b]
sub esp, 0x10
mov edx, esp
or esi, 0xffffffff
mov edi, 0x481e18
xor eax, eax
mov byte [edx], cl
mov ecx, esi
mov dword [edx + 4], ebp
mov dword [edx + 8], ebp
mov dword [edx + 0xc], ebp
mov dword [esp + 0x30], esp
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + 0x1e4], 2
push ecx
push 0x481e18
mov ecx, edx
call fcn.00413660
push ebp
lea ecx, [esp + 0x5c]
call fcn.004478c0
mov ebx, 3
mov byte [esp + 0x1d4], bl
call fcn.0044e630
test al, al
je 0x40ba11
push ebp
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 6
push 0x4755e4
call fcn.0043f770
push ecx
mov byte [esp + 0x1e4], 4
mov ecx, esp
mov dword [esp + 0x7c], esp
push 6
push 0x475a0c
call fcn.0043f770
mov ecx, 0x4824d0
mov byte [esp + 0x1e4], bl
call fcn.004483e0
mov eax, dword [esp + 0x50]
cmp eax, ebp
je 0x40b9b2
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x40b9a9
cmp al, 0xff
je 0x40b9a9
dec al
mov byte [ecx], al
jmp 0x40b9b2
push ecx
call fcn.00458510
add esp, 4
lea ecx, [esp + 0x3c]
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebp
mov byte [esp + 0x1d4], 1
call fcn.0043f810
lea ecx, [esp + 0x38]
mov byte [esp + 0x1d4], 0
call fcn.0043f810
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x1d4], esi
mov esi, dword [esp + 0x28]
mov edi, eax
cmp esi, eax
je 0x40d2e4
mov ecx, esi
call fcn.00406700
add esi, 0x1c
cmp esi, edi
jne 0x40b9f9
mov esi, dword [esp + 0x28]
push esi
jmp 0x40d505
push 0xff
lea edx, [esp + 0xd0]
push 0x47599c
push edx
call fcn.00458e0a
mov al, byte [esp + 0x27]
push ecx
mov edx, esp
lea edi, [esp + 0xdc]
mov ecx, esi
mov dword [esp + 0x30], esp
mov byte [edx], al
xor eax, eax
mov dword [edx + 4], ebp
mov dword [edx + 8], ebp
mov dword [edx + 0xc], ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0xe0]
push ecx
mov ecx, edx
call fcn.00413660
sub esp, 0x10
lea edx, [esp + 0x3b]
mov ecx, esp
mov dword [esp + 0x8c], esp
push edx
push 0x475928
mov byte [esp + 0x1fc], 5
call fcn.00412fb0
sub esp, 0x10
lea eax, [esp + 0x8f]
mov ecx, esp
mov dword [esp + 0xa0], esp
push eax
push 0x475a1c
mov byte [esp + 0x20c], 6
call fcn.00412fb0
sub esp, 0x10
lea edx, [esp + 0x83]
mov ecx, esp
mov dword [esp + 0x84], esp
push edx
push 0x481e18
mov byte [esp + 0x21c], 7
call fcn.00412fb0
sub esp, 0x10
mov byte [esp + 0x224], 8
mov edi, esp
mov dword [esp + 0xb0], esp
push ecx
mov ecx, esp
mov dword [esp + 0x70], esp
push 6
push 0x475a14
call fcn.0043f770
push edi
call fcn.0044c070
sub esp, 8
mov byte [esp + 0x234], 9
mov edi, esp
mov dword [esp + 0x7c], esp
push ecx
mov ecx, esp
mov dword [esp + 0x80], esp
push 6
push 0x475a14
call fcn.0043f770
push edi
call fcn.0044c070
add esp, 8
lea eax, [esp + 0xf4]
mov byte [esp + 0x234], bl
push eax
mov ecx, 0x4824d0
call fcn.004485f0
mov edx, dword [0x46814c]
mov cx, word [eax]
push edx
add eax, 4
mov word [esp + 0x4c], cx
push ebp
push eax
lea ecx, [esp + 0x58]
mov byte [esp + 0x1e0], 0xa
call fcn.00413240
mov eax, dword [esp + 0x9c]
mov byte [esp + 0x1d4], bl
cmp eax, ebp
je 0x40bb97
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x40bb8e
cmp al, 0xff
je 0x40bb8e
dec al
mov byte [ecx], al
jmp 0x40bb97
push ecx
call fcn.00458510
add esp, 4
lea ecx, [esp + 0x48]
call fcn.004440e0
cmp ax, 2
jne 0x40bc2e
mov eax, dword [esp + 0x50]
cmp eax, ebp
je 0x40bbcf
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x40bbc6
cmp al, 0xff
je 0x40bbc6
dec al
mov byte [ecx], al
jmp 0x40bbcf
push ecx
call fcn.00458510
add esp, 4
lea ecx, [esp + 0x3c]
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebp
mov byte [esp + 0x1d4], 1
call fcn.0043f810
lea ecx, [esp + 0x38]
mov byte [esp + 0x1d4], 0
call fcn.0043f810
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x1d4], esi
mov esi, dword [esp + 0x28]
mov edi, eax
cmp esi, eax
je 0x40d2e4
mov ecx, esi
call fcn.00406700
add esi, 0x1c
cmp esi, edi
jne 0x40bc16
mov esi, dword [esp + 0x28]
push esi
jmp 0x40d505
lea eax, [esp + 0x84]
lea ecx, [esp + 0x48]
push eax
call fcn.00447a00
mov eax, dword [eax + 4]
cmp eax, ebp
jne 0x40bc4b
mov eax, 0x468288
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xcc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x88]
and ecx, ebx
cmp eax, ebp
rep movsb byte es:[edi], byte [esi]
je 0x40bc98
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x40bc8f
cmp al, 0xff
je 0x40bc8f
dec al
mov byte [ecx], al
jmp 0x40bc98
push ecx
call fcn.00458510
add esp, 4
lea ecx, [esp + 0xcc]
push ecx
call fcn.00458f5e
add esp, 4
mov byte [esp + 0x44], al
or eax, 0xffffffff
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x2c], esp
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 6
push 0x475ba8
call fcn.0043f770
push esi
call fcn.0044c070
mov ecx, dword [0x4824dc]
add esp, 8
call fcn.0044d490
push ebp
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 6
push 0x475a68
call fcn.0043f770
mov ecx, dword [0x4824dc]
call fcn.0044d690
mov al, byte [esp + 0x44]
push ebp
push ecx
test al, al
mov ecx, esp
jne 0x40bd1f
mov dword [esp + 0x24], esp
push 6
push 0x475ba0
jmp 0x40bd2a
mov dword [esp + 0x24], esp
push 6
push 0x475b98
call fcn.0043f770
mov ecx, dword [0x4824dc]
call fcn.0044d690
push ebp
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 6
push 0x475a38
call fcn.0043f770
mov ecx, dword [0x4824dc]
call fcn.0044d690
mov edi, dword [esp + 0x44]
lea eax, [esp + 0xcc]
mov edx, edi
and edx, 0xff
push edx
push 0x47599c
push eax
call fcn.00458e0a
add esp, 8
mov ecx, esp
mov dword [esp + 0x20], esp
push 6
push 0x475580
call fcn.0043f770
sub esp, 0x10
lea edx, [esp + 0x57]
mov ecx, esp
mov dword [esp + 0x74], esp
lea eax, [esp + 0xe0]
push edx
push eax
mov byte [esp + 0x1f0], 0xb
call fcn.00412fb0
push ecx
mov byte [esp + 0x1ec], 0xc
mov ecx, esp
mov dword [esp + 0x38], esp
push 6
push 0x4759fc
call fcn.0043f770
mov ecx, dword [0x4824dc]
mov byte [esp + 0x1ec], bl
call fcn.0044d710
mov ecx, dword [0x4824dc]
call fcn.0044d920
push 0xa
mov esi, eax
call fcn.0043cc50
add esp, 4
cmp si, 2
je 0x40cf7b
movsx eax, si
sub eax, ebp
je 0x40bec5
dec eax
jne 0x40bcb7
mov al, byte [esp + 0x44]
test al, al
jne 0x40c0ed
movsx cx, byte [0x47316c]
push ecx
push 0x47316d
lea ecx, [esp + 0x40]
call fcn.0043fb50
lea edx, [esp + 0x3c]
lea eax, [esp + 0x38]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.0043f6e0
call fcn.004294e0
add esp, 8
cmp ax, bp
push ebp
push 1
push ecx
mov ecx, esp
jg 0x40be9d
mov dword [esp + 0x28], esp
push 6
push 0x475710
call fcn.0043f770
push ecx
mov byte [esp + 0x1e4], 0x13
mov ecx, esp
mov dword [esp + 0x70], esp
push 6
push 0x475b90
call fcn.0043f770
mov ecx, 0x4824d0
mov byte [esp + 0x1e4], bl
call fcn.004483e0
jmp 0x40bcb7
mov dword [esp + 0x28], esp
push 6
push 0x4755e4
call fcn.0043f770
push ecx
mov byte [esp + 0x1e4], 0x14
mov ecx, esp
mov dword [esp + 0x70], esp
push 6
push 0x475b88
jmp 0x40be82
push 0xff
lea ecx, [esp + 0xd0]
push 0x47599c
push ecx
call fcn.00458e0a
mov al, byte [esp + 0x4f]
push ecx
mov edx, esp
lea edi, [esp + 0xdc]
or ecx, 0xffffffff
mov dword [esp + 0x2c], esp
mov byte [edx], al
xor eax, eax
mov dword [edx + 4], ebp
mov dword [edx + 8], ebp
mov dword [edx + 0xc], ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0xe0]
push ecx
mov ecx, edx
call fcn.00413660
sub esp, 0x10
lea edx, [esp + 0x7f]
mov ecx, esp
mov dword [esp + 0x80], esp
push edx
push 0x475928
mov byte [esp + 0x1fc], 0xd
call fcn.00412fb0
sub esp, 0x10
lea eax, [esp + 0x4b]
mov ecx, esp
mov dword [esp + 0x50], esp
push eax
push 0x475a1c
mov byte [esp + 0x20c], 0xe
call fcn.00412fb0
sub esp, 0x10
lea edx, [esp + 0xc2]
mov ecx, esp
mov dword [esp + 0xb0], esp
push edx
push 0x481e18
mov byte [esp + 0x21c], 0xf
call fcn.00412fb0
sub esp, 0x10
mov byte [esp + 0x224], 0x10
mov esi, esp
mov dword [esp + 0x84], esp
push ecx
mov ecx, esp
mov dword [esp + 0x68], esp
push 6
push 0x475a14
call fcn.0043f770
push esi
call fcn.0044c070
sub esp, 8
mov byte [esp + 0x234], 0x11
mov esi, esp
mov dword [esp + 0x74], esp
push ecx
mov ecx, esp
mov dword [esp + 0x78], esp
push 6
push 0x475a14
call fcn.0043f770
push esi
call fcn.0044c070
add esp, 8
lea eax, [esp + 0x118]
mov byte [esp + 0x234], bl
push eax
mov ecx, 0x4824d0
call fcn.004485f0
mov edx, dword [0x46814c]
mov cx, word [eax]
push edx
add eax, 4
mov word [esp + 0x4c], cx
push ebp
push eax
lea ecx, [esp + 0x58]
mov byte [esp + 0x1e0], 0x12
call fcn.00413240
mov eax, dword [esp + 0xc0]
mov byte [esp + 0x1d4], bl
cmp eax, ebp
je 0x40c042
mov cl, byte [eax - 1]
dec eax
test cl, cl
je 0x40c039
cmp cl, 0xff
je 0x40c039
dec cl
mov byte [eax], cl
jmp 0x40c042
push eax
call fcn.00458510
add esp, 4
lea eax, [esp + 0xa8]
lea ecx, [esp + 0x48]
push eax
mov dword [esp + 0xc4], ebp
mov dword [esp + 0xc8], ebp
mov dword [esp + 0xcc], ebp
call fcn.00447a00
mov edi, dword [eax + 4]
cmp edi, ebp
jne 0x40c074
mov edi, 0x468288
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xcc]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0xac]
and ecx, ebx
cmp eax, ebp
rep movsb byte es:[edi], byte [esi]
je 0x40c0bf
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x40c0b6
cmp al, 0xff
je 0x40c0b6
dec al
mov byte [ecx], al
jmp 0x40c0bf
push ecx
call fcn.00458510
add esp, 4
lea ecx, [esp + 0xcc]
mov dword [esp + 0xac], ebp
push ecx
mov dword [esp + 0xb4], ebp
mov dword [esp + 0xb8], ebp
call fcn.00458f5e
add esp, 4
mov byte [esp + 0x44], al
jmp 0x40bcb7
mov eax, edi
and eax, 0xff
mov dword [esp + 0x70], eax
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x24], esp
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 6
push 0x475ba8
call fcn.0043f770
push esi
call fcn.0044c070
mov ecx, dword [0x4824dc]
add esp, 8
call fcn.0044d490
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 6
push 0x475b80
call fcn.0043f770
mov ecx, dword [0x4824dc]
call fcn.0044d690
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 6
push 0x475a38
call fcn.0043f770
mov ecx, dword [0x4824dc]
call fcn.0044d690
mov edx, dword [esp + 0x70]
lea eax, [esp + 0xcc]
push edx
push 0x47599c
push eax
call fcn.00458e0a
add esp, 8
mov ecx, esp
mov dword [esp + 0x18], esp
push 6
push 0x475580
call fcn.0043f770
sub esp, 0x10
lea edx, [esp + 0x92]
mov ecx, esp
mov dword [esp + 0x48], esp
lea eax, [esp + 0xe0]
push edx
push eax
mov byte [esp + 0x1f0], 0x15
call fcn.00412fb0
push ecx
mov byte [esp + 0x1ec], 0x16
mov ecx, esp
mov dword [esp + 0x34], esp
push 6
push 0x4759fc
call fcn.0043f770
mov ecx, dword [0x4824dc]
mov byte [esp + 0x1ec], bl
call fcn.0044d710
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
cmp eax, ecx
mov ebp, eax
mov edi, ecx
mov esi, eax
je 0x40c209
push 0
mov ecx, esi
call fcn.00414d80
add esi, 0x1c
cmp esi, edi
jne 0x40c1f9
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x24]
lea edx, [esp + 0x64]
push ecx
mov ecx, dword [esp + 0x7c]
push edx
push eax
push 1
mov dword [esp + 0x3c], ebp
call fcn.0040b5d0
test ax, ax
je 0x40c6a9
jl 0x40d003
movsx ecx, word [esp + 0x64]
push ecx
lea edx, [esp + 0xd0]
push 0x47599c
push edx
call fcn.00458e0a
add esp, 8
mov ecx, esp
mov dword [esp + 0x18], esp
push 6
push 0x475580
call fcn.0043f770
sub esp, 0x10
lea eax, [esp + 0x72]
mov ecx, esp
mov dword [esp + 0x48], esp
lea edx, [esp + 0xe0]
push eax
push edx
mov byte [esp + 0x1f0], 0x19
call fcn.00412fb0
push ecx
mov byte [esp + 0x1ec], 0x1a
mov ecx, esp
mov dword [esp + 0x34], esp
push 6
push 0x475b78
call fcn.0043f770
mov ecx, dword [0x4824dc]
mov byte [esp + 0x1ec], bl
call fcn.0044d710
xor esi, esi
xor ebp, ebp
mov edi, dword [esp + 0x28]
test edi, edi
je 0x40c3bc
mov ecx, dword [esp + 0x2c]
mov eax, 0x92492493
sub ecx, edi
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp esi, edx
jae 0x40c3bc
mov al, byte [edi + ebp]
push esi
cmp al, 1
lea ecx, [esp + 0x28]
jne 0x40c34d
call fcn.00413150
push ecx
add eax, 8
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.0043f6e0
push esi
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1dc], 0x1b
call fcn.00413150
sub esp, 0x10
add eax, 0xc
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
call fcn.00412e90
push esi
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1ec], 0x1c
call fcn.00413150
push ecx
add eax, 4
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call fcn.0043f6e0
jmp 0x40c3a1
call fcn.00413150
push ecx
add eax, 8
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.0043f6e0
push esi
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1dc], 0x1d
call fcn.00413150
sub esp, 0x10
add eax, 0xc
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
call fcn.00412e90
push ecx
mov byte [esp + 0x1ec], 0x1e
mov ecx, esp
mov dword [esp + 0x34], esp
push 6
push 0x4759f4
call fcn.0043f770
mov ecx, dword [0x4824dc]
mov byte [esp + 0x1ec], bl
call fcn.0044d710
inc esi
add ebp, 0x1c
jmp 0x40c2b7
mov ecx, dword [0x4824dc]
call fcn.0044d920
push 0xa
mov esi, eax
call fcn.0043cc50
add esp, 4
cmp si, 1
je 0x40d0d5
test si, si
jne 0x40c0f8
push 0xffff
lea ecx, [esp + 0xd0]
push 0x47599c
push ecx
call fcn.00458e0a
mov dl, byte [esp + 0x6a]
push ecx
mov ebp, esp
xor esi, esi
lea edi, [esp + 0xdc]
or ecx, 0xffffffff
xor eax, eax
mov byte [ebp], dl
mov dword [ebp + 4], esi
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], esi
mov dword [esp + 0x24], esp
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov dword [esp + 0x34], ecx
push ecx
mov ecx, ebp
call fcn.00413840
test al, al
je 0x40c460
mov eax, dword [esp + 0x30]
mov edi, dword [ebp + 4]
mov ecx, eax
lea esi, [esp + 0xdc]
mov edx, ecx
push eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, ebx
rep movsb byte es:[edi], byte [esi]
mov ecx, ebp
call fcn.00413820
xor esi, esi
sub esp, 0x10
lea eax, [esp + 0x95]
mov ecx, esp
mov dword [esp + 0x54], esp
push eax
push 0x475928
mov byte [esp + 0x1fc], 0x1f
call fcn.00412fb0
sub esp, 0x10
lea edx, [esp + 0xb0]
mov ecx, esp
mov dword [esp + 0x4c], esp
push edx
push 0x475a1c
mov byte [esp + 0x20c], 0x20
call fcn.00412fb0
sub esp, 0x10
lea eax, [esp + 0xb6]
mov ecx, esp
mov dword [esp + 0xa0], esp
push eax
push 0x481e18
mov byte [esp + 0x21c], 0x21
call fcn.00412fb0
sub esp, 0x10
mov byte [esp + 0x224], 0x22
mov edi, esp
mov dword [esp + 0x70], esp
push ecx
mov ecx, esp
mov dword [esp + 0x64], esp
push 6
push 0x475b80
call fcn.0043f770
push edi
call fcn.0044c070
sub esp, 8
mov byte [esp + 0x234], 0x23
mov edi, esp
mov dword [esp + 0x70], esp
push ecx
mov ecx, esp
mov dword [esp + 0x74], esp
push 6
push 0x475b80
call fcn.0043f770
push edi
call fcn.0044c070
add esp, 8
lea ecx, [esp + 0xf4]
mov byte [esp + 0x234], bl
push ecx
mov ecx, 0x4824d0
call fcn.004485f0
mov ecx, dword [0x46814c]
mov dx, word [eax]
push ecx
add eax, 4
push esi
push eax
lea ecx, [esp + 0x58]
mov byte [esp + 0x1e0], 0x24
mov word [esp + 0x54], dx
call fcn.00413240
mov eax, dword [esp + 0x9c]
mov byte [esp + 0x1d4], bl
cmp eax, esi
je 0x40c590
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x40c587
cmp al, 0xff
je 0x40c587
dec al
mov byte [ecx], al
jmp 0x40c590
push ecx
call fcn.00458510
add esp, 4
lea ecx, [esp + 0x48]
mov dword [esp + 0x9c], esi
mov dword [esp + 0xa0], esi
mov dword [esp + 0xa4], esi
call fcn.004440e0
cmp ax, 2
je 0x40c0f8
lea edx, [esp + 0x84]
lea ecx, [esp + 0x48]
push edx
call fcn.00447a00
mov edi, dword [eax + 4]
test edi, edi
jne 0x40c5d5
mov edi, 0x468288
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xcc]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x88]
and ecx, ebx
rep movsb byte es:[edi], byte [esi]
xor esi, esi
cmp eax, esi
je 0x40c622
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x40c619
cmp al, 0xff
je 0x40c619
dec al
mov byte [ecx], al
jmp 0x40c622
push ecx
call fcn.00458510
add esp, 4
lea ecx, [esp + 0xcc]
mov dword [esp + 0x88], esi
push ecx
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], esi
call fcn.00458f5e
add esp, 4
mov dword [esp + 0x68], eax
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
cmp esi, edi
mov ebp, esi
je 0x40c667
mov ecx, esi
call fcn.00406700
add esi, 0x1c
cmp esi, edi
jne 0x40c659
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0x24]
lea eax, [esp + 0x64]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x84]
push 1
mov dword [esp + 0x3c], ebp
call fcn.0040b5d0
test ax, ax
je 0x40c9f7
jl 0x40d15f
cmp ax, 0xff
jne 0x40c6d4
push 0xa
call fcn.0043cc50
add esp, 4
jmp 0x40c64b
push 0
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 6
push 0x475710
call fcn.0043f770
push ecx
mov byte [esp + 0x1e4], 0x17
mov ecx, esp
mov dword [esp + 0x24], esp
jmp 0x40ca1d
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x20], esp
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 6
push 0x475ba8
call fcn.0043f770
push esi
call fcn.0044c070
mov ecx, dword [0x4824dc]
add esp, 8
call fcn.0044d490
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 6
push 0x475b70
call fcn.0043f770
mov ecx, dword [0x4824dc]
call fcn.0044d690
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 6
push 0x475a38
call fcn.0043f770
mov ecx, dword [0x4824dc]
call fcn.0044d690
mov edx, dword [esp + 0x70]
lea eax, [esp + 0xcc]
push edx
push 0x47599c
push eax
call fcn.00458e0a
add esp, 8
mov ecx, esp
mov dword [esp + 0x14], esp
push 6
push 0x475580
call fcn.0043f770
sub esp, 0x10
lea edx, [esp + 0x8b]
mov ecx, esp
mov dword [esp + 0x28], esp
lea eax, [esp + 0xe0]
push edx
push eax
mov byte [esp + 0x1f0], 0x27
call fcn.00412fb0
push ecx
mov byte [esp + 0x1ec], 0x28
mov ecx, esp
mov dword [esp + 0x4c], esp
push 6
push 0x4759fc
call fcn.0043f770
mov ecx, dword [0x4824dc]
mov byte [esp + 0x1ec], bl
call fcn.0044d710
movsx ecx, word [esp + 0x64]
push ecx
lea edx, [esp + 0xd0]
push 0x47599c
push edx
call fcn.00458e0a
add esp, 8
mov ecx, esp
mov dword [esp + 0x14], esp
push 6
push 0x475580
call fcn.0043f770
sub esp, 0x10
mov byte [esp + 0x1e8], 0x29
mov ecx, esp
lea eax, [esp + 0x90]
mov dword [esp + 0x28], esp
lea edx, [esp + 0xe0]
push eax
push edx
call fcn.00412fb0
push ecx
mov byte [esp + 0x1ec], 0x2a
mov ecx, esp
mov dword [esp + 0x4c], esp
push 6
push 0x475b78
call fcn.0043f770
mov ecx, dword [0x4824dc]
mov byte [esp + 0x1ec], bl
call fcn.0044d710
movsx eax, word [esp + 0x68]
push eax
lea ecx, [esp + 0xd0]
push 0x47599c
push ecx
call fcn.00458e0a
add esp, 8
mov ecx, esp
mov dword [esp + 0x14], esp
push 6
push 0x475580
call fcn.0043f770
sub esp, 0x10
lea edx, [esp + 0x91]
mov ecx, esp
mov dword [esp + 0x28], esp
lea eax, [esp + 0xe0]
push edx
push eax
mov byte [esp + 0x1f0], 0x2b
call fcn.00412fb0
push ecx
mov byte [esp + 0x1ec], 0x2c
mov ecx, esp
mov dword [esp + 0x4c], esp
push 6
push 0x475b68
call fcn.0043f770
mov ecx, dword [0x4824dc]
mov byte [esp + 0x1ec], bl
call fcn.0044d710
xor esi, esi
xor ebp, ebp
mov edi, dword [esp + 0x28]
test edi, edi
je 0x40c9cc
mov ecx, dword [esp + 0x2c]
mov eax, 0x92492493
sub ecx, edi
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
cmp esi, edx
jae 0x40c9cc
mov al, byte [edi + ebp]
push esi
cmp al, 1
lea ecx, [esp + 0x28]
jne 0x40c95d
call fcn.00413150
push ecx
add eax, 8
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call fcn.0043f6e0
push esi
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1dc], 0x2d
call fcn.00413150
sub esp, 0x10
add eax, 0xc
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.00412e90
push esi
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1ec], 0x2e
call fcn.00413150
push ecx
add eax, 4
mov ecx, esp
mov dword [esp + 0x4c], esp
push eax
call fcn.0043f6e0
jmp 0x40c9b1
call fcn.00413150
push ecx
add eax, 8
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call fcn.0043f6e0
push esi
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1dc], 0x2f
call fcn.00413150
sub esp, 0x10
add eax, 0xc
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.00412e90
push ecx
mov byte [esp + 0x1ec], 0x30
mov ecx, esp
mov dword [esp + 0x4c], esp
push 6
push 0x4759f4
call fcn.0043f770
mov ecx, dword [0x4824dc]
mov byte [esp + 0x1ec], bl
call fcn.0044d710
inc esi
add ebp, 0x1c
jmp 0x40c8c7
mov ecx, dword [0x4824dc]
call fcn.0044d920
push 0xa
mov esi, eax
call fcn.0043cc50
add esp, 4
cmp si, 1
je 0x40d231
test si, si
je 0x40ca41
jmp 0x40c64b
push 0
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 6
push 0x475710
call fcn.0043f770
push ecx
mov byte [esp + 0x1e4], 0x25
mov ecx, esp
mov dword [esp + 0x24], esp
push 6
push 0x475a0c
call fcn.0043f770
mov ecx, 0x4824d0
mov byte [esp + 0x1e4], bl
call fcn.004483e0
xor ebp, ebp
jmp 0x40bcb7
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x20], esp
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 6
push 0x475ba8
call fcn.0043f770
push esi
call fcn.0044c070
mov ecx, dword [0x4824dc]
add esp, 8
call fcn.0044d490
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 6
push 0x475b60
call fcn.0043f770
mov ecx, dword [0x4824dc]
call fcn.0044d690
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 6
push 0x475a38
call fcn.0043f770
mov ecx, dword [0x4824dc]
call fcn.0044d690
mov edx, dword [esp + 0x70]
lea eax, [esp + 0xcc]
push edx
push 0x47599c
push eax
call fcn.00458e0a
add esp, 8
mov ecx, esp
mov dword [esp + 0x14], esp
push 6
push 0x475580
call fcn.0043f770
sub esp, 0x10
lea edx, [esp + 0x97]
mov ecx, esp
mov dword [esp + 0x28], esp
lea eax, [esp + 0xe0]
push edx
push eax
mov byte [esp + 0x1f0], 0x33
call fcn.00412fb0
push ecx
mov byte [esp + 0x1ec], 0x34
mov ecx, esp
mov dword [esp + 0x4c], esp
push 6
push 0x4759fc
call fcn.0043f770
mov ecx, dword [0x4824dc]
mov byte [esp + 0x1ec], bl
call fcn.0044d710
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
cmp esi, eax
mov ebp, esi
mov edi, eax
mov dword [esp + 0x20], esi
je 0x40cb80
push 1
lea ecx, [esi + 0xc]
mov byte [esp + 0x1d8], 0x36
call fcn.00413440
lea ecx, [esi + 8]
mov byte [esp + 0x1d4], 0x35
call fcn.0043f810
lea ecx, [esi + 4]
mov byte [esp + 0x1d4], bl
call fcn.0043f810
add esi, 0x1c
cmp esi, edi
mov dword [esp + 0x20], esi
jne 0x40cb44
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x24]
lea edx, [esp + 0x68]
push ecx
mov ecx, dword [esp + 0x7c]
push edx
push eax
push 2
mov dword [esp + 0x3c], ebp
call fcn.0040b5d0
test ax, ax
je 0x40ce2d
jl 0x40d2ea
movsx ecx, word [esp + 0x64]
push ecx
lea edx, [esp + 0xd0]
push 0x47599c
push edx
call fcn.00458e0a
add esp, 8
mov ecx, esp
mov dword [esp + 0x14], esp
push 6
push 0x475580
call fcn.0043f770
sub esp, 0x10
lea eax, [esp + 0x93]
mov ecx, esp
mov dword [esp + 0x28], esp
lea edx, [esp + 0xe0]
push eax
push edx
mov byte [esp + 0x1f0], 0x3b
call fcn.00412fb0
push ecx
mov byte [esp + 0x1ec], 0x3c
mov ecx, esp
mov dword [esp + 0x4c], esp
push 6
push 0x475b78
call fcn.0043f770
mov ecx, dword [0x4824dc]
mov byte [esp + 0x1ec], bl
call fcn.0044d710
movsx eax, word [esp + 0x68]
push eax
lea ecx, [esp + 0xd0]
push 0x47599c
push ecx
call fcn.00458e0a
add esp, 8
mov ecx, esp
mov dword [esp + 0x14], esp
push 6
push 0x475580
call fcn.0043f770
sub esp, 0x10
lea edx, [esp + 0x95]
mov ecx, esp
mov dword [esp + 0x28], esp
lea eax, [esp + 0xe0]
push edx
push eax
mov byte [esp + 0x1f0], 0x3d
call fcn.00412fb0
push ecx
mov byte [esp + 0x1ec], 0x3e
mov ecx, esp
mov dword [esp + 0x4c], esp
push 6
push 0x475b68
call fcn.0043f770
mov ecx, dword [0x4824dc]
mov byte [esp + 0x1ec], bl
call fcn.0044d710
xor esi, esi
xor ebp, ebp
mov edi, dword [esp + 0x28]
test edi, edi
je 0x40cdb6
mov ecx, dword [esp + 0x2c]
mov eax, 0x92492493
sub ecx, edi
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
cmp esi, edx
jae 0x40cdb6
mov al, byte [edi + ebp]
push esi
cmp al, 1
lea ecx, [esp + 0x28]
jne 0x40cd47
call fcn.00413150
push ecx
add eax, 8
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call fcn.0043f6e0
push esi
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1dc], 0x3f
call fcn.00413150
sub esp, 0x10
add eax, 0xc
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.00412e90
push esi
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1ec], 0x40
call fcn.00413150
push ecx
add eax, 4
mov ecx, esp
mov dword [esp + 0x4c], esp
push eax
call fcn.0043f6e0
jmp 0x40cd9b
call fcn.00413150
push ecx
add eax, 8
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call fcn.0043f6e0
push esi
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1dc], 0x41
call fcn.00413150
sub esp, 0x10
add eax, 0xc
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.00412e90
push ecx
mov byte [esp + 0x1ec], 0x42
mov ecx, esp
mov dword [esp + 0x4c], esp
push 6
push 0x4759f4
call fcn.0043f770
mov ecx, dword [0x4824dc]
mov byte [esp + 0x1ec], bl
call fcn.0044d710
inc esi
add ebp, 0x1c
jmp 0x40ccb1
mov ecx, dword [0x4824dc]
call fcn.0044d920
push 0xa
mov esi, eax
call fcn.0043cc50
add esp, 4
cmp si, 1
je 0x40d3fb
test si, si
jne 0x40ca41
push 0
push 4
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 6
push 0x4755e4
call fcn.0043f770
push ecx
mov byte [esp + 0x1e4], 0x45
mov ecx, esp
mov dword [esp + 0x24], esp
push 6
push 0x475b58
call fcn.0043f770
mov ecx, 0x4824d0
mov byte [esp + 0x1e4], bl
call fcn.004483e0
cmp ax, bx
je 0x40ce58
jmp 0x40ca41
push 0
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 6
push 0x475710
call fcn.0043f770
push ecx
mov byte [esp + 0x1e4], 0x37
mov ecx, esp
mov dword [esp + 0x24], esp
jmp 0x40ca1d
lea ecx, [esp + 0x6c]
call fcn.0043f6d0
movsx dx, byte [0x473180]
push edx
push 0x473181
lea ecx, [esp + 0x74]
mov byte [esp + 0x1dc], 0x46
call fcn.0043fb50
mov al, byte [esp + 0x44]
movsx dx, byte [0x47318c]
mov byte [0x473190], al
mov eax, dword [esp + 0x68]
mov ecx, eax
push edx
sar ecx, 8
mov byte [0x473191], cl
push 0x47318d
lea ecx, [esp + 0x40]
mov byte [0x473192], al
call fcn.0043fb50
push 0x40180000
push 0
push 0x32
push 0x96
mov ecx, 0x482498
call fcn.004420b0
push 0
mov ecx, 0x482498
call fcn.004428f0
lea eax, [esp + 0x3c]
lea edx, [esp + 0x6c]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.0043f6e0
call fcn.004294e0
add esp, 8
lea eax, [esp + 0x3c]
lea edx, [esp + 0x38]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.0043f6e0
call fcn.004294e0
add esp, 8
mov ecx, 0x482498
push 1
call fcn.004428f0
push 0
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 6
push 0x4755e4
call fcn.0043f770
push ecx
mov byte [esp + 0x1e4], 0x47
mov ecx, esp
mov dword [esp + 0x24], esp
push 6
push 0x475b50
call fcn.0043f770
mov ecx, 0x4824d0
mov byte [esp + 0x1e4], 0x46
call fcn.004483e0
lea ecx, [esp + 0x6c]
mov byte [esp + 0x1d4], bl
call fcn.0043f810
xor ebp, ebp
jmp 0x40bcb7
mov eax, dword [esp + 0x50]
cmp eax, ebp
je 0x40cfa0
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x40cf97
cmp al, 0xff
je 0x40cf97
dec al
mov byte [ecx], al
jmp 0x40cfa0
push ecx
call fcn.00458510
add esp, 4
lea ecx, [esp + 0x3c]
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebp
mov byte [esp + 0x1d4], 1
call fcn.0043f810
lea ecx, [esp + 0x38]
mov byte [esp + 0x1d4], 0
call fcn.0043f810
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
cmp esi, eax
mov dword [esp + 0x1d4], 0xffffffff
mov edi, eax
je 0x40d2e4
mov ecx, esi
call fcn.00406700
add esi, 0x1c
cmp esi, edi
jne 0x40cfeb
mov esi, dword [esp + 0x28]
push esi
jmp 0x40d505
push 0
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 6
push 0x475710
call fcn.0043f770
push ecx
mov byte [esp + 0x1e4], 0x18
mov ecx, esp
mov dword [esp + 0x24], esp
push 6
push 0x4759e4
call fcn.0043f770
mov ecx, 0x4824d0
mov byte [esp + 0x1e4], bl
call fcn.004483e0
mov eax, dword [esp + 0x50]
test eax, eax
je 0x40d06b
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x40d062
cmp al, 0xff
je 0x40d062
dec al
mov byte [ecx], al
jmp 0x40d06b
push ecx
call fcn.00458510
add esp, 4
lea ecx, [esp + 0x3c]
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov byte [esp + 0x1d4], 1
call fcn.0043f810
lea ecx, [esp + 0x38]
mov byte [esp + 0x1d4], 0
call fcn.0043f810
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
cmp esi, eax
mov dword [esp + 0x1d4], 0xffffffff
mov edi, eax
je 0x40d3ea
mov ecx, esi
call fcn.00406700
add esi, 0x1c
cmp esi, edi
jne 0x40d0c2
jmp 0x40d3e6
mov eax, dword [esp + 0x50]
xor esi, esi
cmp eax, esi
je 0x40d0fc
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x40d0f3
cmp al, 0xff
je 0x40d0f3
dec al
mov byte [ecx], al
jmp 0x40d0fc
push ecx
call fcn.00458510
add esp, 4
lea ecx, [esp + 0x3c]
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov byte [esp + 0x1d4], 1
call fcn.0043f810
lea ecx, [esp + 0x38]
mov byte [esp + 0x1d4], 0
call fcn.0043f810
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
cmp esi, eax
mov dword [esp + 0x1d4], 0xffffffff
mov edi, eax
je 0x40d2e4
mov ecx, esi
call fcn.00406700
add esi, 0x1c
cmp esi, edi
jne 0x40d147
mov esi, dword [esp + 0x28]
push esi
jmp 0x40d505
push 0
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 6
push 0x475710
call fcn.0043f770
push ecx
mov byte [esp + 0x1e4], 0x26
mov ecx, esp
mov dword [esp + 0x24], esp
push 6
push 0x4759e4
call fcn.0043f770
mov ecx, 0x4824d0
mov byte [esp + 0x1e4], bl
call fcn.004483e0
mov eax, dword [esp + 0x50]
test eax, eax
je 0x40d1c7
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x40d1be
cmp al, 0xff
je 0x40d1be
dec al
mov byte [ecx], al
jmp 0x40d1c7
push ecx
call fcn.00458510
add esp, 4
lea ecx, [esp + 0x3c]
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov byte [esp + 0x1d4], 1
call fcn.0043f810
lea ecx, [esp + 0x38]
mov byte [esp + 0x1d4], 0
call fcn.0043f810
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
cmp esi, eax
mov dword [esp + 0x1d4], 0xffffffff
mov edi, eax
je 0x40d3ea
mov ecx, esi
call fcn.00406700
add esi, 0x1c
cmp esi, edi
jne 0x40d21e
jmp 0x40d3e6
mov eax, dword [esp + 0x50]
xor esi, esi
cmp eax, esi
je 0x40d258
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x40d24f
cmp al, 0xff
je 0x40d24f
dec al
mov byte [ecx], al
jmp 0x40d258
push ecx
call fcn.00458510
add esp, 4
lea ecx, [esp + 0x3c]
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov byte [esp + 0x1d4], 1
call fcn.0043f810
lea ecx, [esp + 0x38]
mov byte [esp + 0x1d4], 0
call fcn.0043f810
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
or ebp, 0xffffffff
cmp esi, edi
mov dword [esp + 0x1d4], ebp
mov dword [esp + 0x20], esi
je 0x40d2e4
mov ebx, 0x32
push 1
lea ecx, [esi + 0xc]
mov dword [esp + 0x1d8], ebx
call fcn.00413440
lea ecx, [esi + 8]
mov byte [esp + 0x1d4], 0x31
call fcn.0043f810
lea ecx, [esi + 4]
mov dword [esp + 0x1d4], ebp
call fcn.0043f810
add esi, 0x1c
cmp esi, edi
mov dword [esp + 0x20], esi
jne 0x40d2a5
mov esi, dword [esp + 0x28]
push esi
jmp 0x40d505
push 0
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 6
push 0x475710
call fcn.0043f770
push ecx
mov byte [esp + 0x1e4], 0x38
mov ecx, esp
mov dword [esp + 0x24], esp
push 6
push 0x4759e4
call fcn.0043f770
mov ecx, 0x4824d0
mov byte [esp + 0x1e4], bl
call fcn.004483e0
mov eax, dword [esp + 0x50]
test eax, eax
je 0x40d352
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x40d349
cmp al, 0xff
je 0x40d349
dec al
mov byte [ecx], al
jmp 0x40d352
push ecx
call fcn.00458510
add esp, 4
lea ecx, [esp + 0x3c]
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov byte [esp + 0x1d4], 1
call fcn.0043f810
lea ecx, [esp + 0x38]
mov byte [esp + 0x1d4], 0
call fcn.0043f810
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
or ebp, 0xffffffff
cmp esi, edi
mov dword [esp + 0x1d4], ebp
mov dword [esp + 0x20], esi
je 0x40d3ea
mov bl, 0x39
push 1
lea ecx, [esi + 0xc]
mov dword [esp + 0x1d8], 0x3a
call fcn.00413440
lea ecx, [esi + 8]
mov byte [esp + 0x1d4], bl
call fcn.0043f810
lea ecx, [esi + 4]
mov dword [esp + 0x1d4], ebp
call fcn.0043f810
add esi, 0x1c
cmp esi, edi
mov dword [esp + 0x20], esi
jne 0x40d3a8
mov esi, dword [esp + 0x28]
push esi
call fcn.00458510
add esp, 4
xor ax, ax
jmp 0x40d511
mov eax, dword [esp + 0x50]
xor ebp, ebp
cmp eax, ebp
je 0x40d422
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x40d419
cmp al, 0xff
je 0x40d419
dec al
mov byte [ecx], al
jmp 0x40d422
push ecx
call fcn.00458510
add esp, 4
lea ecx, [esp + 0x3c]
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebp
mov byte [esp + 0x1d4], 1
call fcn.0043f810
lea ecx, [esp + 0x38]
mov byte [esp + 0x1d4], 0
call fcn.0043f810
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
cmp edi, eax
mov dword [esp + 0x1d4], 0xffffffff
mov ebx, eax
mov dword [esp + 0x20], edi
je 0x40d504
mov eax, dword [edi + 0x10]
lea esi, [edi + 0xc]
cmp eax, ebp
mov dword [esp + 0x1d4], 0x44
je 0x40d4c5
push eax
mov ecx, esi
call fcn.00413960
cmp byte [eax], 0
je 0x40d4b2
mov eax, dword [esi + 4]
mov ecx, esi
push eax
call fcn.00413960
cmp byte [eax], 0xff
je 0x40d4b2
mov ecx, dword [esi + 4]
push ecx
mov ecx, esi
call fcn.00413960
dec byte [eax]
jmp 0x40d4c5
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 4]
add edx, 2
dec eax
push edx
push eax
mov ecx, esi
call fcn.00425540
lea ecx, [edi + 8]
mov dword [esi + 4], ebp
mov dword [esi + 8], ebp
mov dword [esi + 0xc], ebp
mov byte [esp + 0x1d4], 0x43
call fcn.0043f810
lea ecx, [edi + 4]
mov dword [esp + 0x1d4], 0xffffffff
call fcn.0043f810
add edi, 0x1c
cmp edi, ebx
mov dword [esp + 0x20], edi
jne 0x40d471
mov edi, dword [esp + 0x28]
push edi
call fcn.00458510
add esp, 4
mov ax, 1
mov ecx, dword [esp + 0x1cc]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c8
ret