Function at 0x20403a70
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
inc esi
mov eax, dword [esp + 0x438]
lea ecx, [esp + 0x220]
mov ebx, dword [ecx + 0x820]
mov edx, 0x208
add ebx, dword [eax + esi*4]
call fcn.204031f9
mov ecx, ebx
call fcn.20402949
mov edi, eax
mov ebp, edi
test edi, edi
je 0x20403670
mov ecx, edi
shr ecx, 1
je 0x20404835
xor eax, eax
lea ebp, [esp + edi*2 + 0x220]
lea edx, [ebx + edi]
mov dword [esp + 0x42c], esi
mov dword [esp + 0x440], ecx
mov dword [esp + 0x428], ebx
mov ebx, ebp
mov esi, eax
movsx ebp, byte [esi + edx]
lea ecx, [eax*4]
neg ecx
inc eax
mov word [ebx + ecx], bp
movsx ebp, byte [esi + edx - 1]
mov esi, 0x66ff166c
mov dword [ebx + ecx - 2], ebp
mov esi, 0x66ff166c
mov dword [ebx + ecx - 2], ebp
lea ebp, [esi + edi - 2]
add esi, 0xfffffffe
cmp eax, dword [esp + 0x440]
jb 0x2040360d
mov ebx, dword [esp + 0x428]
lea ecx, [eax + eax + 1]
mov esi, dword [esp + 0x42c]
lea eax, [ecx - 1]
cmp eax, edi
jae 0x20403670
lea ebp, [ebx + edi]
sub ebp, ecx
lea edx, [ecx + ecx]
neg edx
lea eax, [esp + edi*2 + 0x220]
movsx ebp, byte [ebp + 1]
mov word [edx + eax + 2], bp
mov ebp, edi
sub ebp, ecx
lea ecx, [esp + 0x220]
movsx eax, byte [ebp + ebx]
mov word [esp + ebp*2 + 0x220], ax
call fcn.2040297b
mov edx, eax
test edx, edx
jbe 0x204036dc
mov eax, dword [esp + 0xc7c]
xor ecx, ecx
mov ebx, dword [eax + 0x78]
mov eax, edx
shr eax, 1
je 0x20403708
xor ebp, ebp
imul ecx, ebx
movzx edi, word [esp + ebp*4 + 0x220]
add ecx, edi
imul ecx, ebx
movzx edi, word [esp + ebp*4 + 0x222]
inc ebp
add ecx, edi
cmp ebp, eax
jb 0x204036a3
lea ebp, [ebp + ebp + 1]
lea eax, [ebp - 1]
cmp eax, edx
jae 0x204036de
imul ebx, ecx
movzx ecx, word [esp + ebp*2 + 0x21e]
add ecx, ebx
jmp 0x204036de
xor ecx, ecx
mov eax, dword [esp + 0x430]
mov edx, dword [esp + 0x434]
movzx ebx, word [eax + esi*2]
mov eax, dword [esp + 0xa40]
add eax, dword [edx + ebx*4]
cmp ecx, dword [esp + 0x43c]
je 0x2040370f
jmp 0x204035a9
mov ebp, 1
jmp 0x204036c6
mov dword [esp + 0x858], eax
mov ebx, dword [esp + 0xc48]
mov ebp, dword [esp + 0xc7c]
push 0x80
push 0x40
call dword [esp + 0xc6c]
mov dword [esp + 0xc68], eax
mov edx, dword [ebx + 0x3c]
xor esi, esi
mov ecx, dword [ebp + 0x34]
mov dword [esp + 0x644], ecx
mov eax, dword [edx + ebx + 0x78]
mov dword [esp + 0xc48], ebx
mov dword [esp + 0xc7c], ebp
mov edx, dword [eax + ebx + 0x20]
mov edi, dword [eax + ebx + 0x1c]
add edx, ebx
mov eax, dword [eax + ebx + 0x24]
add edi, ebx
add eax, ebx
mov dword [esp + 0x638], eax
mov dword [esp + 0x63c], edi
mov dword [esp + 0x640], edx
jmp 0x20403784
inc esi
mov eax, dword [esp + 0x640]
lea ecx, [esp + 0x428]
mov ebx, dword [ecx + 0x820]
mov edx, 0x208
add ebx, dword [eax + esi*4]
call fcn.204031f9
mov ecx, ebx
call fcn.20402949
mov edi, eax
mov ebp, edi
test edi, edi
je 0x2040384a
mov ecx, edi
shr ecx, 1
je 0x2040482b
xor eax, eax
lea ebp, [esp + edi*2 + 0x428]
lea edx, [ebx + edi]
mov dword [esp + 0x634], esi
mov dword [esp + 0x648], ecx
mov dword [esp + 0x630], ebx
mov ebx, ebp
mov esi, eax
movsx ebp, byte [esi + edx]
lea ecx, [eax*4]
neg ecx
inc eax
mov word [ebx + ecx], bp
movsx ebp, byte [esi + edx - 1]
mov word [ebx + ecx - 2], bp
lea ebp, [esi + edi - 2]
add esi, 0xfffffffe
cmp eax, dword [esp + 0x648]
jb 0x204037e7
mov ebx, dword [esp + 0x630]
lea ecx, [eax + eax + 1]
mov esi, dword [esp + 0x634]
lea eax, [ecx - 1]
cmp eax, edi
jae 0x2040384a
lea ebp, [ebx + edi]
sub ebp, ecx
lea edx, [ecx + ecx]
neg edx
lea eax, [esp + edi*2 + 0x428]
movsx ebp, byte [ebp + 1]
mov word [edx + eax + 2], bp
mov ebp, edi
sub ebp, ecx
lea ecx, [esp + 0x428]
movsx eax, byte [ebp + ebx]
mov word [esp + ebp*2 + 0x428], ax
call fcn.2040297b
mov edx, eax
test edx, edx
jbe 0x204038b6
mov eax, dword [esp + 0xc7c]
xor ebp, ebp
mov ecx, dword [eax + 0x78]
mov eax, edx
shr eax, 1
je 0x204038e2
xor ebx, ebx
imul ebp, ecx
movzx edi, word [esp + ebx*4 + 0x428]
add ebp, edi
imul ebp, ecx
movzx edi, word [esp + ebx*4 + 0x42a]
inc ebx
add ebp, edi
cmp ebx, eax
jb 0x2040387d
lea ebx, [ebx + ebx + 1]
lea eax, [ebx - 1]
cmp eax, edx
jae 0x204038b8
imul ecx, ebp
movzx ebp, word [esp + ebx*2 + 0x426]
add ebp, ecx
jmp 0x204038b8
xor ebp, ebp
mov edx, dword [esp + 0x638]
mov eax, dword [esp + 0x63c]
movzx ecx, word [edx + esi*2]
mov edx, dword [esp + 0xc48]
add edx, dword [eax + ecx*4]
cmp ebp, dword [esp + 0x644]
je 0x204038e9
jmp 0x20403783
mov ebx, 1
jmp 0x204038a0
mov eax, dword [esp + 0xc68]
mov esi, dword [esp + 0xa40]
mov ebx, dword [esp + 0xc48]
mov dword [eax + 0x4c], edx
mov edx, dword [esp + 0x84c]
mov dword [eax + 0x68], edx
mov edx, dword [esp + 0x838]
mov dword [eax + 0x58], edx
mov edx, dword [esp + 0x844]
mov dword [eax + 0x28], edx
mov edx, dword [esp + 0x858]
xchg esp, eax
and al, 0x58
or byte [eax], al
add byte [ecx - 0x6b7483b0], cl
and al, 0x64
or al, 0
add byte [ecx - 0x6b7493b0], cl
and al, 0x3c
or byte [eax], al
add byte [ecx - 0x6b74abb0], cl
and al, 0x48
or byte [eax], al
add byte [ecx + 0x548b1050], cl
and al, 0x14
mov dword [eax + 0x24], edx
mov edx, dword [esp + 0x10]
and al, 0x10
mov dword [eax + 0x48], edx
mov edx, dword [esp + 0x840]
mov dword [eax], edx
mov edi, dword [esp + 0x854]
mov edx, dword [esp + 0x850]
mov dword [eax + 4], ebx
mov dword [eax + 0x1c], edi
mov dword [eax + 0x50], esi
mov dword [eax + 0x70], edx
mov edx, dword [esi + 0x3c]
mov ebp, dword [esp + 0xc7c]
mov eax, dword [ebp + 8]
mov ecx, dword [edx + esi + 0x78]
mov dword [esp + 0x868], eax
mov edx, dword [ecx + esi + 0x20]
mov edi, dword [ecx + esi + 0x1c]
add edx, esi
mov ecx, dword [ecx + esi + 0x24]
add edi, esi
add ecx, esi
xor esi, esi
mov dword [esp + 0x85c], ecx
mov dword [esp + 0x860], edi
mov dword [esp + 0x864], edx
jmp 0x204039bc
inc esi
mov eax, dword [esp + 0x864]
lea ecx, [esp + 0x630]
mov ebx, dword [ecx + 0x410]
mov edx, 0x208
add ebx, dword [eax + esi*4]
call fcn.204031f9
mov ecx, ebx
call fcn.20402949
mov edi, eax
mov ebp, edi
test edi, edi
je 0x20403a76
mov ecx, edi
shr ecx, 1
je 0x20404821
xor eax, eax
lea ebp, [esp + edi*2 + 0x630]
lea edx, [ebx + edi]
mov dword [esp + 0x14], esi
mov dword [esp + 0x838], ecx
mov dword [esp + 0x10], ebx
mov ebx, ebp
mov esi, eax
movsx ebp, byte [esi + edx]
lea ecx, [eax*4]
neg ecx
inc eax
mov word [ebx + ecx], bp
movsx ebp, byte [esi + edx - 1]
mov word [ebx + ecx - 2], bp
lea ebp, [esi + edi - 2]
add esi, 0xfffffffe
cmp eax, dword [esp + 0x838]
jb 0x20403a19
mov ebx, dword [esp + 0x10]
lea ecx, [eax + eax + 1]
mov esi, dword [esp + 0x14]
lea eax, [ecx - 1]
cmp eax, edi
jae 0x20403a76
lea ebp, [ebx + edi]
sub ebp, ecx
lea edx, [ecx + ecx]
neg edx
lea eax, [esp + edi*2 + 0x630]
movsx ebp, byte [ebp + 1]
mov word [edx + eax + 2], bp
add al, byte [edx]
mov ebp, edi
sub ebp, ecx
lea ecx, [esp + 0x630]
movsx eax, byte [ebp + ebx]
mov word [esp + ebp*2 + 0x630], ax
call fcn.2040297b
mov edx, eax
test edx, edx
jbe 0x20403ae2
mov eax, dword [esp + 0xc7c]
xor ebp, ebp
mov ecx, dword [eax + 0x78]
mov eax, edx
shr eax, 1
je 0x20403b0e
xor ebx, ebx
imul ebp, ecx
movzx edi, word [esp + ebx*4 + 0x630]
add ebp, edi
imul ebp, ecx
movzx edi, word [esp + ebx*4 + 0x632]
inc ebx
add ebp, edi
cmp ebx, eax
jb 0x20403aa9
lea ebx, [ebx + ebx + 1]
lea eax, [ebx - 1]
cmp eax, edx
jae 0x20403ae4
imul ecx, ebp
movzx ebp, word [esp + ebx*2 + 0x62e]
add ebp, ecx
jmp 0x20403ae4
xor ebp, ebp
mov eax, dword [esp + 0x85c]
mov edx, dword [esp + 0x860]
movzx ecx, word [eax + esi*2]
mov eax, dword [esp + 0xa40]
add eax, dword [edx + ecx*4]
cmp ebp, dword [esp + 0x868]
je 0x20403b15
jmp 0x204039bb
mov ebx, 1
jmp 0x20403acc
mov edx, dword [esp + 0xc68]
mov esi, dword [esp + 0xa40]
mov ebp, dword [esp + 0xc7c]
mov dword [edx + 0x14], eax
mov edi, dword [esi + 0x3c]
mov eax, dword [ebp + 0xec]
mov ecx, dword [edi + esi + 0x78]
mov dword [esp + 0xa50], eax
mov edx, dword [ecx + esi + 0x20]
mov edi, dword [ecx + esi + 0x1c]
add edx, esi
mov ecx, dword [ecx + esi + 0x24]
add edi, esi
add ecx, esi
xor esi, esi
mov dword [esp + 0xa44], ecx
mov dword [esp + 0xa48], edi
mov dword [esp + 0xa4c], edx
jmp 0x20403b6d
inc esi
mov eax, dword [esp + 0xa4c]
lea ecx, [esp + 0x838]
mov ebx, dword [ecx + 0x208]
mov edx, 0x208
add ebx, dword [eax + esi*4]
call fcn.204031f9
mov ecx, ebx
call fcn.20402949
mov edi, eax
mov ebp, edi
test edi, edi
je 0x20403c27
mov ecx, edi
shr ecx, 1
je 0x20404817
xor eax, eax
lea ebp, [esp + edi*2 + 0x838]
lea edx, [ebx + edi]
mov dword [esp + 0x14], esi
mov dword [esp + 0xa54], ecx
mov dword [esp + 0x10], ebx
mov ebx, ebp
mov esi, eax
movsx ebp, byte [esi + edx]
lea ecx, [eax*4]
neg ecx
inc eax
mov word [ebx + ecx], bp
movsx ebp, byte [esi + edx - 1]
mov word [ebx + ecx - 2], bp
lea ebp, [esi + edi - 2]
add esi, 0xfffffffe
cmp eax, dword [esp + 0xa54]
jb 0x20403bca
mov ebx, dword [esp + 0x10]
lea ecx, [eax + eax + 1]
mov esi, dword [esp + 0x14]
lea eax, [ecx - 1]
cmp eax, edi
jae 0x20403c27
lea ebp, [ebx + edi]
sub ebp, ecx
lea edx, [ecx + ecx]
neg edx
lea eax, [esp + edi*2 + 0x838]
movsx ebp, byte [ebp + 1]
mov word [edx + eax + 2], bp
mov ebp, edi
sub ebp, ecx
lea ecx, [esp + 0x838]
movsx eax, byte [ebp + ebx]
mov word [esp + ebp*2 + 0x838], ax
call fcn.2040297b
mov edx, eax
test edx, edx
jbe 0x20403c93
mov eax, dword [esp + 0xc7c]
xor ebp, ebp
mov ecx, dword [eax + 0x78]
mov eax, edx
shr eax, 1
je 0x20403cbf
xor ebx, ebx
imul ebp, ecx
movzx edi, word [esp + ebx*4 + 0x838]
add ebp, edi
imul ebp, ecx
movzx edi, word [esp + ebx*4 + 0x83a]
inc ebx
add ebp, edi
cmp ebx, eax
jb 0x20403c5a
lea ebx, [ebx + ebx + 1]
lea eax, [ebx - 1]
cmp eax, edx
jae 0x20403c95
imul ecx, ebp
movzx ebp, word [esp + ebx*2 + 0x836]
add ebp, ecx
jmp 0x20403c95
xor ebp, ebp
mov eax, dword [esp + 0xa44]
mov edx, dword [esp + 0xa48]
movzx ecx, word [eax + esi*2]
mov eax, dword [esp + 0xa40]
add eax, dword [edx + ecx*4]
cmp ebp, dword [esp + 0xa50]
je 0x20403cc6
jmp 0x20403b6c
mov ebx, 1
jmp 0x20403c7d
mov edx, dword [esp + 0xc68]
mov edi, dword [esp + 0xc]
mov ebx, dword [esp + 0xc48]
mov dword [edx + 0x20], eax
mov esi, dword [ebx + 0x3c]
mov eax, dword [edi + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [esi + ebx + 0x78]
xor esi, esi
mov ebp, dword [esp + 0xc7c]
mov ecx, dword [ebp + 0x11c]
mov edx, dword [eax + ebx + 0x20]
mov edi, dword [eax + ebx + 0x1c]
add edx, ebx
mov eax, dword [eax + ebx + 0x24]
add edi, ebx
add eax, ebx
mov dword [esp + 0xc4c], eax
mov dword [esp + 0xc50], edi
mov dword [esp + 0xc54], edx
mov dword [esp + 0xc58], ecx
jmp 0x20403d29
inc esi
mov eax, dword [esp + 0xc54]
lea ecx, [esp + 0xa40]
mov ebx, dword [ecx + 0x208]
mov edx, 0x208
add ebx, dword [eax + esi*4]
call fcn.204031f9
mov ecx, ebx
call fcn.20402949
mov edi, eax
mov ebp, edi
test edi, edi
je 0x20403de3
mov ecx, edi
shr ecx, 1
je 0x2040480d
xor eax, eax
lea ebp, [esp + edi*2 + 0xa40]
lea edx, [ebx + edi]
mov dword [esp + 0x14], esi
mov dword [esp + 0xc5c], ecx
mov dword [esp + 0xc], ebx
mov ebx, ebp
mov esi, eax
movsx ebp, byte [esi + edx]
lea ecx, [eax*4]
neg ecx
inc eax
mov word [ebx + ecx], bp
movsx ebp, byte [esi + edx - 1]
mov word [ebx + ecx - 2], bp
lea ebp, [esi + edi - 2]
add esi, 0xfffffffe
cmp eax, dword [esp + 0xc5c]
jb 0x20403d86
mov ebx, dword [esp + 0xc]
lea ecx, [eax + eax + 1]
mov esi, dword [esp + 0x14]
lea eax, [ecx - 1]
cmp eax, edi
jae 0x20403de3
lea ebp, [ebx + edi]
sub ebp, ecx
lea edx, [ecx + ecx]
neg edx
lea eax, [esp + edi*2 + 0xa40]
movsx ebp, byte [ebp + 1]
mov word [edx + eax + 2], bp
mov ebp, edi
sub ebp, ecx
lea ecx, [esp + 0xa40]
movsx eax, byte [ebp + ebx]
mov word [esp + ebp*2 + 0xa40], ax
call fcn.2040297b
mov edx, eax
test edx, edx
jbe 0x20403e4f
mov eax, dword [esp + 0xc7c]
xor ecx, ecx
mov ebx, dword [eax + 0x78]
mov eax, edx
shr eax, 1
je 0x20403e7b
xor ebp, ebp
imul ecx, ebx
movzx edi, word [esp + ebp*4 + 0xa40]
add ecx, edi
imul ecx, ebx
movzx edi, word [esp + ebp*4 + 0xa42]
inc ebp
add ecx, edi
cmp ebp, eax
jb 0x20403e16
lea ebp, [ebp + ebp + 1]
lea eax, [ebp - 1]
cmp eax, edx
jae 0x20403e51
imul ebx, ecx
movzx ecx, word [esp + ebp*2 + 0xa3e]
add ecx, ebx
jmp 0x20403e51
xor ecx, ecx
mov eax, dword [esp + 0xc4c]
mov edx, dword [esp + 0xc50]
movzx ebx, word [eax + esi*2]
mov eax, dword [esp + 0xc48]
add eax, dword [edx + ebx*4]
cmp ecx, dword [esp + 0xc58]
je 0x20403e82
jmp 0x20403d28
mov ebp, 1
jmp 0x20403e39
mov ebp, dword [esp + 0xc7c]
mov edi, dword [esp + 0x10]
mov edx, dword [ebp + 0x68]
mov dword [esp + 0xc6c], eax
mov eax, dword [ebp + 0x40]
xor eax, dword [ebp + 4]
mov ebx, dword [edi + edx]
mov edi, dword [edi + edx + 4]
cmp ebx, eax
jne 0x2040431d
xor ebx, ebx
mov esi, dword [ebx + 8]
mov dword [esp + 0xc], esi
mov esi, dword [ebx + 0xc]
push esi
push 0x40
mov edx, dword [esp + 0xc70]
call dword [edx + 0x6c]
mov dword [esp + 0xc60], eax
mov dword [esp + 0xc5c], 0
lea edx, [esp + 0xc5c]
push edx
push dword [esp + 0x10]
lea ecx, [ebx + 0x10]
push ecx
push esi
push dword [esp + 0xc70]
push 2
mov esi, dword [edx + 0xc]
call dword [esi + 0x7c]
test eax, eax
jne 0x20404312
mov edx, dword [esp + 0xc60]
lea ecx, [edx + 0x90]
call fcn.20402949
test eax, eax
jne 0x20403f24
mov edx, dword [esp + 0xc60]
mov edx, dword [edx + 0x160]
jmp 0x20403f26
xor edx, edx
mov ecx, dword [esp + 0xc60]
mov esi, dword [ecx + 8]
add esi, ecx
lea edi, [esi + edx + 0x3dd]
mov dword [esp + 0xc58], edi
mov edx, dword [ebp + 0x64]
cmp dword [edi + 0xee4], 0
jbe fcn.204040b0
mov ecx, edi
xor edi, edi
mov dword [esp + 0xc], edi
mov dword [esp + 0xc48], edx
mov dword [esp + 0xc70], ebx
lea esi, [ecx + 0x10de]
mov dword [esp + 0xc7c], ebp
mov ecx, esi
call fcn.20402949
lea edx, [eax + eax + 2]
push edx
push 0x40
mov ebx, dword [esp + 0xc70]
call dword [ebx + 0x6c]
mov ebx, eax
mov ecx, esi
call fcn.20402949
mov edi, eax
test edi, edi
je 0x2040400d
mov ecx, edi
shr ecx, 1
je 0x204046b4
xor edx, edx
lea eax, [esi + edi]
lea ebp, [ebx + edi*2]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc50], ecx
mov ecx, eax
mov dword [esp + 0x14], esi
mov ebx, edx
movsx esi, byte [ebx + ecx]
lea eax, [edx*4]
neg eax
inc edx
mov word [ebp + eax], si
movsx esi, byte [ebx + ecx - 1]
mov word [ebp + eax - 2], si
lea eax, [ebx + edi - 2]
add ebx, 0xfffffffe
cmp edx, dword [esp + 0xc50]
jb 0x20403fbf
mov ebx, dword [esp + 0x10]
lea ebp, [edx + edx + 1]
mov esi, dword [esp + 0x14]
lea edx, [ebp - 1]
cmp edx, edi
jae 0x2040400d
mov eax, edi
sub eax, ebp
movsx edx, byte [eax + esi + 1]
mov word [ebx + eax*2 + 2], dx
movsx edx, byte [eax + esi]
mov ecx, ebx
mov word [ebx + eax*2], dx
call fcn.2040297b
mov edx, eax
test edx, edx
jbe 0x20404071
mov eax, dword [esp + 0xc7c]
xor ebp, ebp
mov edi, dword [eax + 0x78]
mov eax, edx
shr eax, 1
je 0x204045f5
mov dword [esp + 0x14], esi
xor ecx, ecx
imul ebp, edi
movzx esi, word [ebx + ecx*4]
add ebp, esi
imul ebp, edi
movzx esi, word [ebx + ecx*4 + 2]
inc ecx
add ebp, esi
cmp ecx, eax
jb 0x2040403e
mov esi, dword [esp + 0x14]
lea ecx, [ecx + ecx + 1]
lea eax, [ecx - 1]
cmp eax, edx
jae 0x20404073
imul edi, ebp
movzx ebp, word [ebx + ecx*2 - 2]
add ebp, edi
jmp 0x20404073
xor ebp, ebp
cmp ebp, dword [esp + 0xc48]
je 0x2040467c
mov edx, dword [esp + 0xc58]
add esi, 0x8a
mov eax, dword [esp + 0xc]
inc eax
mov dword [esp + 0xc], eax
cmp eax, dword [edx + 0xee4]
jb 0x20403f73
mov ebx, dword [esp + 0xc70]
mov ebp, dword [esp + 0xc7c]
push ebx
push 0x40
mov dword [esp + 0x14], edx
call dword [esp + 0xc6c]
mov edx, dword [esp + 0xc]
mov esi, eax
mov eax, dword [esp + 0x10]
mov ecx, ebx
lea edx, [eax + edx + 8]
mov eax, esi
call fcn.204025b5
test ebx, ebx
jbe 0x20404374
add ebx, 3
mov edx, ebx
shr edx, 3
je 0x20404803
xor eax, eax
xor dword [esi + eax*8], edi
xor dword [esi + eax*8 + 4], edi
inc eax
cmp eax, edx
jb 0x20404356
lea eax, [eax + eax + 1]
shr ebx, 2
lea edx, [eax - 1]
cmp edx, ebx
jae 0x20404374
xor dword [esi + eax*4 - 4], edi
push 0x20a
push 0x40
call dword [esp + 0xc6c]
mov ebx, eax
cmp byte [esi], 0
je 0x2040439a
xor edx, edx
movsx ecx, byte [edx + esi]
mov word [ebx + edx*2], cx
inc edx
cmp byte [edx + esi], 0
jne 0x2040438b
push 0x20a
push 0x40
inc eax
mov eax, dword [esp + 0xc70]
call dword [eax + 0x6c]
mov esi, eax
push 0x105
push esi
push 0
mov eax, dword [esp + 0xc74]
call dword [eax + 0x48]
movzx edx, word [esi]
xor eax, eax
test edx, edx
je 0x204047f5
inc eax
movzx edx, word [esi + eax*2]
test edx, edx
jne 0x204043cc
xor ecx, ecx
mov word [esi + eax*2], cx
dec eax
movzx edx, word [esi + eax*2]
cmp edx, 0x5c
jne 0x204043d7
movzx edx, word [esi]
xor eax, eax
test edx, edx
je 0x204047ee
inc eax
lea ecx, [esi + eax*2]
movzx edx, word [ecx]
test edx, edx
jne 0x204043f2
movzx edx, word [ecx - 2]
cmp edx, 0x5c
je 0x20404416
mov edx, 0x5c
mov word [esi + eax*2], dx
mov edx, 1
add dword [eax], eax
add byte [eax], al
jmp 0x20404418
xor edx, edx
test ebx, ebx
je 0x204047e3
add eax, edx
xor ecx, ecx
movzx edx, word [ebx]
test edx, edx
je 0x2040443f
lea edx, [esi + eax*2]
movzx edi, word [ebx + ecx*2]
mov word [edx + ecx*2], di
inc ecx
movzx edi, word [ebx + ecx*2]
test edi, edi
jne 0x2040442e
add ecx, eax
xor eax, eax
mov word [esi + ecx*2], ax
xor eax, eax
push eax
push 0x80
push 3
push eax
push 1
push SysReAllocString
push esi
mov edx, dword [esp + 0xc84]
call dword [edx + 0x1c]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x204044b6
push 0
push ebx
mov eax, dword [esp + 0xc70]
call dword [eax + 0x24]
mov esi, eax
test esi, esi
je 0x204044ab
lea eax, [esi + 1]
push eax
push 0x40
mov ecx, dword [esp + 0xc70]
call dword [ecx + 0x6c]
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc4c]
push 0
push eax
push esi
invalid
je 0x204044c4