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

Disassembly:
push 0xffffffffffffffff
push 0x47fe58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x164
push ebx
push ebp
push esi
mov esi, dword [esp + 0x184]
mov ebx, ecx
push edi
push esi
mov dword [esp + 0x30], ebx
mov ecx, dword [ebx + 0xc]
call fcn.0040f160
mov edi, eax
test edi, edi
mov dword [esp + 0x28], edi
jne 0x4120ad
mov eax, dword [esp + 0x190]
mov ecx, dword [esp + 0x18c]
mov edx, dword [esp + 0x184]
push eax
push ecx
push esi
push edx
jmp 0x412c5c
mov ebp, dword [esp + 0x184]
lea eax, [esp + 0x94]
push eax
push edi
push ebp
mov ecx, ebx
call fcn.00411d60
mov ax, word [edi + 0x60]
mov ecx, dword [esp + 0x190]
cmp ax, 0x35
jne 0x4120e4
mov edx, dword [esp + 0x18c]
push ecx
push edx
jmp 0x412c5a
test ecx, ecx
je 0x412c51
mov edx, dword [esp + 0xe6]
test dx, dx
je 0x412c51
cmp ax, 0x34
mov dword [esp + 0x24], 0
jne 0x412112
mov dword [esp + 0x24], 0xffffffff
xor esi, esi
test dx, dx
jbe 0x412160
lea eax, [esp + 0x104]
mov ecx, ebx
push eax
push esi
push edi
push ebp
call fcn.00411da0
test al, al
je 0x412148
lea ecx, [esp + 0x124]
push str.TEXT
push ecx
call fcn.00459170
add esp, 8
test eax, eax
je 0x41215c
mov edx, dword [esp + 0xe6]
inc esi
and edx, 0xffff
cmp esi, edx
jl 0x412119
jmp 0x412160
mov dword [esp + 0x24], esi
mov eax, dword [esp + 0x18c]
mov byte [eax], 0
mov eax, dword [esp + 0x24]
cmp eax, 0xffffffff
je 0x412c4d
mov eax, dword [esp + 0x158]
test eax, eax
je 0x412c4d
mov eax, dword [esp + 0xf0]
test eax, eax
jne 0x412353
mov eax, dword [esp + 0x190]
xor ebp, ebp
xor esi, esi
mov byte [esp + 0x13], 0
test eax, eax
jle 0x412311
mov ebx, dword [esp + 0x18c]
cmp esi, dword [esp + 0x158]
jae 0x412349
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x184]
push 1
push esi
push edi
push ecx
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x74]
push edx
mov edx, dword [ecx + 0x34]
push eax
push 0
push edx
call fcn.00443960
test eax, eax
je 0x412311
mov dl, byte [esp + 0x64]
add esi, eax
cmp dl, 0xd
mov dword [esp + 0x20], esi
je 0x412304
mov al, byte [esp + 0x13]
cmp al, 0x20
je 0x412215
cmp al, 0xa
je 0x412215
cmp al, 9
jne 0x412230
cmp dl, 0x20
je 0x412300
cmp dl, 0xa
je 0x412300
cmp dl, 9
je 0x412300
cmp dl, 0x7f
jg 0x4122bb
test dl, dl
jl 0x4122bb
cmp dl, 0x3e
jne 0x41228e
mov edi, str.gt_
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov dword [esp + 0x1c], eax
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x1c]
dec edi
mov ecx, eax
mov ebx, dword [esp + 0x18c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov byte [esp + 0x13], dl
and ecx, 3
add ebp, 4
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x20]
mov byte [ebx + ebp], 0
jmp 0x412304
cmp dl, 0x3c
jne 0x4122f2
mov edi, str.lt_
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov dword [esp + 0x1c], eax
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x1c]
dec edi
jmp 0x412268
mov ecx, dword [esp + 0x28]
push 1
push esi
mov byte [ebx + ebp], dl
mov edx, dword [esp + 0x18c]
push edi
inc ebp
push ecx
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x74]
mov byte [ebx + ebp], 0
push edx
mov edx, dword [ecx + 0x34]
push eax
push 0
push edx
call fcn.00443960
test eax, eax
je 0x412311
mov dl, byte [esp + 0x64]
add esi, eax
mov byte [ebx + ebp], dl
inc ebp
mov byte [esp + 0x13], dl
mov byte [ebx + ebp], 0
jmp 0x412304
mov byte [esp + 0x13], dl
cmp ebp, dword [esp + 0x190]
jl 0x4121b4
cmp esi, dword [esp + 0x158]
jae 0x412349
mov edi, 0x49ebdc
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, dword [esp + 0x18c]
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, 1
jmp 0x412c63
lea ecx, [esp + 0x50]
call fcn.004621cd
lea ecx, [esp + 0x70]
mov dword [esp + 0x17c], 0
call fcn.004621cd
lea eax, [esp + 0x34]
mov ecx, ebx
push eax
push 0
push edi
push ebp
mov esi, 1
mov byte [esp + 0x18c], 1
call fcn.00413970
lea ecx, [esp + 0x8c]
push ecx
push 0
push edi
push ebp
mov ecx, ebx
call fcn.00413970
cmp dword [esp + 0xf0], esi
jbe 0x412400
mov eax, dword [esp + 0x184]
lea edx, [esp + 0x84]
push edx
push esi
push edi
push eax
mov ecx, ebx
call fcn.00413970
mov ecx, dword [esp + 0x88]
mov ebp, dword [esp + 0x34]
mov eax, dword [esp + 0x84]
mov edx, ecx
and edx, 0xffff
sub edx, ebp
add edx, eax
cmp edx, dword [esp + 0x190]
ja 0x412404
sub eax, ebp
add eax, ecx
inc esi
mov word [esp + 0x38], ax
mov eax, dword [esp + 0xf0]
cmp esi, eax
jb 0x4123a9
jmp 0x412404
mov ebp, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x190]
and eax, 0xffff
cmp eax, ecx
mov word [esp + 0x38], ax
jl 0x412422
mov word [esp + 0x38], cx
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x190]
and ecx, 0xffff
mov esi, ebp
sub eax, ecx
mov ebx, 0
cdq
sub eax, edx
mov edx, dword [esp + 0x158]
sar eax, 1
sub esi, eax
mov dword [esp + 0x30], ebp
sets bl
dec ebx
lea ecx, [ecx + eax*2]
and ebx, esi
mov esi, dword [esp + 0x90]
and esi, 0xffff
add ecx, ebx
add esi, ebp
cmp edx, ecx
mov dword [esp + 0x3c], esi
jae 0x412472
mov ecx, edx
mov edx, eax
sub edx, ecx
add edx, esi
test edx, edx
jle 0x412482
sub ecx, eax
sub ecx, esi
add ebx, ecx
test ebx, ebx
jge 0x41248a
xor ebx, ebx
jmp 0x4124c3
jle 0x4124c3
mov edi, 0x49ebdc
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, dword [esp + 0x18c]
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x28]
sub ebp, ebx
mov dword [esp + 0x18], 0
test ebp, ebp
jle 0x412660
mov eax, dword [0x4a624c]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x20], eax
xor ebp, ebp
cmp ebx, 0xfa
mov byte [esp + 0x17c], 2
mov dword [esp + 0x14], ebp
jle 0x41254f
push 0x3c
call fcn.0044dbfe
mov edx, dword [esp + 0x28]
add esp, 4
lea ecx, [ebx - 0xfa]
mov esi, eax
mov eax, dword [esp + 0x184]
push 0x32
push ecx
mov ecx, dword [esp + 0x34]
push edx
push edi
mov edx, dword [ecx + 0x34]
push eax
push esi
push ebp
push edx
call fcn.00443960
push 0x20
push esi
mov byte [eax + esi], 0
call fcn.0044e810
add esp, 8
test eax, eax
je 0x412546
sub eax, esi
lea ebp, [eax + ebx - 0xfa]
push esi
call fcn.0044da11
add esp, 4
mov edi, dword [esp + 0x30]
sub edi, ebp
lea eax, [edi + 0xa]
push eax
call fcn.0044dbfe
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
add esp, 4
mov esi, eax
mov eax, dword [esp + 0x184]
push edi
push ebp
push ecx
mov ecx, dword [esp + 0x38]
push edx
push eax
mov edx, dword [ecx + 0x34]
push esi
push 0
push edx
call fcn.00443960
mov byte [eax + esi], 0
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push esi
push ecx
call fcn.00411de0
add esp, 0xc
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x180], 3
call fcn.004630f0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x17c], 2
call fcn.00462fb7
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
sub edx, ecx
add ebx, edx
jns 0x4125d1
xor ebx, ebx
push esi
call fcn.0044da11
mov edi, dword [esp + 0x24]
add esp, 4
xor eax, eax
test ebx, ebx
jle 0x412625
mov esi, 2
mov edx, 1
mov cl, byte [eax + edi]
cmp cl, 0x7f
jg 0x412603
test cl, cl
jl 0x412603
cmp edx, ebx
jg 0x412621
inc eax
inc edx
inc esi
jmp 0x412610
cmp esi, ebx
jg 0x412621
add eax, 2
add edx, 2
add esi, 2
cmp eax, ebx
jl 0x4125ee
mov eax, dword [esp + 0x18c]
add edi, ebx
push edi
push eax
jmp 0x41263f
cmp eax, ebx
jl 0x412632
mov eax, dword [esp + 0x18c]
add edi, ebx
push edi
push eax
jmp 0x41263f
mov edx, dword [esp + 0x18c]
lea ecx, [edi + ebx - 1]
push ecx
push edx
call fcn.00411ea0
add esp, 8
lea ecx, [esp + 0x20]
mov byte [esp + 0x17c], 1
call fcn.00462fb7
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x50]
push eax
lea ebx, [eax + 1]
mov eax, dword [esp + 0x5c]
push eax
call fcn.0046222d
mov ecx, dword [esp + 0x78]
push esi
push ecx
lea ecx, [esp + 0x78]
call fcn.0046222d
mov eax, dword [esp + 0xf0]
mov esi, 1
cmp eax, esi
jbe 0x4126f2
mov ebp, dword [esp + 0x184]
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x34]
push edx
push esi
push edi
push ebp
call fcn.00413970
cmp word [esp + 0x38], 0
jbe 0x4126e6
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x58]
push eax
push ecx
lea ecx, [esp + 0x58]
call fcn.0046222d
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
and eax, 0xffff
lea ecx, [esp + 0x70]
add eax, edx
mov edx, dword [esp + 0x78]
push eax
push edx
call fcn.0046222d
mov eax, dword [esp + 0xf0]
inc esi
cmp esi, eax
jb 0x41269c
mov eax, dword [esp + 0x58]
xor ecx, ecx
test eax, eax
mov dword [esp + 0x20], ecx
jle 0x412a1c
jmp 0x41270a
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x54]
test ecx, ecx
mov edx, dword [eax + ecx*4]
mov eax, dword [esp + 0x74]
mov dword [esp + 0x30], edx
mov ebx, dword [eax + ecx*4]
mov dword [esp + 0x4c], ebx
jle 0x41291b
mov esi, dword [esp + 0x20]
mov edi, edx
mov ecx, edi
sub ecx, dword [eax + esi*4 - 4]
add ecx, 0xa
push ecx
call fcn.0044dbfe
mov edx, dword [esp + 0x78]
mov ebx, eax
mov ecx, dword [esp + 0x2c]
add esp, 4
mov eax, dword [edx + esi*4 - 4]
mov edx, dword [esp + 0x184]
sub edi, eax
push edi
push eax
mov eax, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x38]
push ecx
push edx
mov ecx, dword [eax + 0x34]
push ebx
push 0
push ecx
call fcn.00443960
mov esi, eax
xor ebp, ebp
xor cl, cl
mov dword [esp + 0x1c], esi
test esi, esi
mov byte [esi + ebx], 0
jle 0x41290e
mov al, byte [ebx + ebp]
cmp al, 0xd
jne 0x412793
inc ebp
jmp 0x4128f3
cmp cl, 0x20
je 0x4127a2
cmp cl, 0xa
je 0x4127a2
cmp cl, 9
jne 0x4127ba
cmp al, 0x20
je 0x4128ea
cmp al, 0xa
je 0x4128ea
cmp al, 9
je 0x4128ea
cmp al, 0x7f
jg 0x412812
test al, al
jl 0x412812
push 1
push eax
lea ecx, [esp + 0x44]
call fcn.0045fd60
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x18c]
push edx
push eax
mov byte [esp + 0x184], 5
call fcn.00411ea0
mov cl, byte [ebx + ebp]
mov eax, dword [esp + 0x20]
add esp, 8
inc ebp
mov byte [esp + 0x13], cl
inc eax
lea ecx, [esp + 0x3c]
mov dword [esp + 0x18], eax
mov byte [esp + 0x17c], 1
call fcn.00462fb7
jmp 0x4128d9
push 1
push eax
lea ecx, [esp + 0x1c]
call fcn.0045fd60
mov edi, dword [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x17c], 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, dword [esp + 0x18c]
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x18]
mov ecx, edx
and ecx, 3
inc ebp
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x190]
inc eax
cmp eax, ecx
mov dword [esp + 0x18], eax
jge 0x4128fd
cmp ebp, dword [esp + 0x1c]
je 0x4128fd
mov al, byte [ebx + ebp]
lea ecx, [esp + 0x14]
push eax
call fcn.0045fdc6
mov edi, dword [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x17c], 1
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, dword [esp + 0x18c]
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
inc ebp
rep movsb byte es:[edi], byte [esi]
mov al, byte [ebx + ebp - 1]
lea ecx, [esp + 0x14]
mov byte [esp + 0x13], al
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
call fcn.00462fb7
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x190]
cmp ecx, eax
jge 0x41290e
jmp 0x4128ef
mov byte [esp + 0x13], al
inc ebp
mov cl, byte [esp + 0x13]
cmp ebp, esi
jl 0x412786
jmp 0x41290e
lea ecx, [esp + 0x14]
mov byte [esp + 0x17c], 1
call fcn.00462fb7
push ebx
call fcn.0044da11
mov ebx, dword [esp + 0x50]
add esp, 4
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x190]
cmp edx, eax
jge 0x412a1c
mov edi, dword [0x4aac98]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, dword [esp + 0x18c]
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x30]
mov esi, ebx
sub esi, edi
lea eax, [esi + 0xa]
push eax
call fcn.0044dbfe
mov edx, dword [esp + 0x28]
add esp, 4
mov ecx, edi
mov ebp, eax
mov eax, dword [esp + 0x28]
push esi
push ecx
mov ecx, dword [esp + 0x18c]
push edx
mov edx, dword [esp + 0x38]
push eax
push ecx
mov eax, dword [edx + 0x34]
push ebp
push 0
push eax
call fcn.00443960
mov ecx, dword [esp + 0x18c]
push ebp
push ecx
mov byte [eax + ebp], 0
call fcn.00411ea0
mov edi, dword [0x4aac9c]
or ecx, 0xffffffff
xor eax, eax
push ebp
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, dword [esp + 0x198]
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0044da11
mov esi, dword [esp + 0x3c]
mov edx, dword [esp + 0x24]
mov eax, ebx
add esp, 0xc
sub eax, esi
add edx, eax
mov eax, dword [esp + 0x58]
cmp eax, 0x14
mov dword [esp + 0x18], edx
jge 0x412a1c
mov ecx, dword [esp + 0x190]
cmp edx, ecx
jge 0x412a1c
mov ecx, dword [esp + 0x20]
inc ecx
cmp ecx, eax
mov dword [esp + 0x20], ecx
jl 0x412706
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x190]
cmp ebp, eax
mov byte [esp + 0x13], 0
jge 0x412be9
cmp ebx, dword [esp + 0x158]
jae 0x412c21
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x184]
push 1
push ebx
push edx
push eax
mov eax, dword [esp + 0x3c]
lea edx, [esp + 0x50]
push ecx
mov ecx, dword [eax + 0x34]
push edx
push 0
push ecx
call fcn.00443960
test eax, eax
je 0x412be9
mov eax, dword [esp + 0x40]
cmp al, 0xd
je 0x412bc8
mov cl, byte [esp + 0x13]
cmp cl, 0x20
je 0x412a91
cmp cl, 0xa
je 0x412a91
cmp cl, 9
jne 0x412aa9
cmp al, 0x20
je 0x412bc4
cmp al, 0xa
je 0x412bc4
cmp al, 9
je 0x412bc4
cmp al, 0x7f
jg 0x412afa
test al, al
jl 0x412afa
push 1
push eax
lea ecx, [esp + 0x24]
call fcn.0045fd60
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18c]
push edx
push eax
mov byte [esp + 0x184], 7
call fcn.00411ea0
mov cl, byte [esp + 0x48]
add esp, 8
mov byte [esp + 0x13], cl
inc ebp
lea ecx, [esp + 0x1c]
inc ebx
mov byte [esp + 0x17c], 1
call fcn.00462fb7
jmp 0x412bc9
push 1
push eax
lea ecx, [esp + 0x1c]
call fcn.0045fd60
mov edi, dword [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x180], 6
mov esi, edi
mov edi, dword [esp + 0x190]
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x28]
mov ecx, edx
mov edx, dword [esp + 0x188]
and ecx, 3
inc ebp
inc ebx
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x2c]
push ebx
push eax
push ecx
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x50]
push edx
push eax
mov edx, dword [ecx + 0x34]
push 0
push edx
call fcn.00443960
test eax, eax
je 0x412bd8
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x14]
push eax
call fcn.0045fdc6
mov edi, dword [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x17c], 1
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, dword [esp + 0x18c]
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov al, byte [esp + 0x40]
mov ecx, edx
and ecx, 3
inc ebp
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
mov byte [esp + 0x13], al
inc ebx
call fcn.00462fb7
jmp 0x412bc9
mov byte [esp + 0x13], al
inc ebx
cmp ebp, dword [esp + 0x190]
jl 0x412a34
jmp 0x412be9
lea ecx, [esp + 0x14]
mov byte [esp + 0x17c], 1
call fcn.00462fb7
cmp ebx, dword [esp + 0x158]
jae 0x412c21
mov edi, 0x49ebdc
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, dword [esp + 0x18c]
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x70]
mov byte [esp + 0x17c], 0
call fcn.00462200
lea ecx, [esp + 0x50]
mov dword [esp + 0x17c], 0xffffffff
call fcn.00462200
mov eax, 1
jmp 0x412c63
xor eax, eax
jmp 0x412c63
mov eax, dword [esp + 0x18c]
push ecx
push eax
push edi
push ebp
mov ecx, ebx
call fcn.00412c90
mov ecx, dword [esp + 0x174]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x170
ret 0x10