Function at 0x4040c0
Capabilities:
Get graphical window text
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d1ae4
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x2ec54
call fcn.004c0c80
mov eax, dword [0x4eb984]
xor eax, esp
mov dword [esp + 0x2ec50], eax
push ebx
push esi
push edi
mov eax, dword [0x4eb984]
xor eax, esp
push eax
lea eax, [esp + 0x2ec68]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor esi, esi
mov ebx, ecx
mov eax, dword [ebx + 0x38]
mov dword [esp + 0x34], edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x38], esi
cmp word [eax + 0x73b0], si
je 0x404134
mov dword [eax + 0x6160], esi
mov dword [eax + 0x6164], esi
mov eax, dword [ebx + 0x38]
cmp word [eax + 0x1010], si
je 0x4041a0
push 0x4d7824
push edi
call fcn.00460550
test al, al
jne 0x4041a0
push 0x4d781c
push edi
call fcn.00460550
test al, al
jne 0x4041a0
push 0x4d7814
push edi
call fcn.00460550
test al, al
jne 0x40419a
mov eax, edi
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
cmp cx, si
jne 0x404172
mov ecx, dword [0x4d7808]
mov dword [eax], ecx
mov edx, dword [0x4d780c]
mov dword [eax + 4], edx
mov cx, word [0x4d7810]
mov word [eax + 8], cx
push edi
call fcn.004618f0
mov edx, dword [ebx + 0x38]
cmp byte [edx + 0x6198], 0
je 0x4041b2
push edi
call fcn.0043d250
xor eax, eax
mov word [esp + 0x2d7dc], ax
mov eax, dword [ebx + 0x38]
mov edx, dword [eax + 0x6160]
xor ecx, ecx
or edx, dword [eax + 0x6164]
mov word [esp + 0x2dc5c], cx
je 0x4041e0
mov byte [ebx + 0x18f8], 1
jmp 0x4041e7
and dword [eax + 0x6148], 0xffffffe7
mov eax, dword [ebx + 0x38]
movzx ecx, byte [eax + 0x6189]
mov edx, dword [eax + 0x615c]
push 1
push ecx
push edx
add eax, 0xc41c
push eax
lea ecx, [esp + 0x297c4]
mov byte [esp + 0x26], 0
call fcn.00477a80
xor edi, edi
mov dword [esp + 0x2ec70], edi
mov eax, dword [esp + 0x34]
push 0x800
push eax
lea ecx, [esp + 0x2c7e0]
push ecx
call fcn.0047ef70
mov eax, dword [ebx + 0x38]
lea ecx, [esp + 0x31cc]
mov dword [esp + 0x2d7d8], eax
call fcn.00482210
lea ecx, [esp + 0x31d4]
call fcn.00482210
lea ecx, [esp + 0x31dc]
call fcn.00482210
mov edx, dword [ebx + 0x38]
push edx
lea ecx, [esp + 0xc8]
call fcn.00406d80
mov byte [esp + 0x2ec70], 1
mov eax, dword [ebx + 0x38]
cmp word [eax + 0x73b0], di
lea esi, [eax + 0x73b0]
je 0x4042f2
push 0x50
lea eax, [esp + 0x58]
push edi
push eax
call fcn.004c16b0
add esp, 0xc
lea ecx, [esp + 0x44]
mov dword [esp + 0x54], esi
mov dword [esp + 0x80], 2
mov dword [esp + 0x9c], 0xffffffff
call fcn.00482210
lea ecx, [esp + 0x44]
call fcn.00482160
lea ecx, [esp + 0x44]
call fcn.00482140
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0xc8]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], edx
call fcn.00406920
mov edi, 1
jmp 0x40446d
lea edx, [esp + 0x21bc]
push edx
lea ecx, [esp + 0x297b8]
call fcn.00478320
test eax, eax
jne 0x40446d
or esi, 0xffffffff
mov eax, dword [esp + 0x130]
mov edx, dword [esp + 0x34]
push edi
push eax
lea ecx, [esp + 0x21c4]
push ecx
push edx
mov ecx, ebx
call fcn.00401540
test al, al
je 0x404451
push 0x50
lea eax, [esp + 0x58]
push 0
push eax
call fcn.004c16b0
mov eax, dword [esp + 0x31cc]
mov edx, dword [esp + 0x31c8]
lea ecx, [esp + 0x21c8]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x31d0]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x31d4]
or byte [esp + 0x22], ah
mov dword [esp + 0x70], ecx
add esp, 0xc
lea ecx, [esp + 0x31cc]
mov dword [esp + 0x5c], edx
mov byte [esp + 0xa0], al
mov byte [esp + 0xa1], ah
call fcn.00482140
lea ecx, [esp + 0x31dc]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], edx
call fcn.00482140
mov ecx, dword [ebx + 0x38]
mov dword [esp + 0x78], edx
movzx edx, word [esp + 0x2c7d4]
mov dword [esp + 0x74], eax
lea eax, [esp + 0x21bc]
push eax
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], 2
mov dword [esp + 0xa0], esi
call fcn.004208f0
test al, al
je 0x4043f1
or dword [esp + 0x94], 1
mov eax, dword [ebx + 0x38]
cmp dword [eax + 0xc48c], 0
jbe 0x404435
push 0x800
lea ecx, [esp + 0x1198]
push ecx
lea edx, [esp + 0x5c]
push edx
push eax
call fcn.00401680
mov eax, dword [esp + 0x31c8]
push 0
push 0
push eax
lea ecx, [esp + 0x11a0]
push ecx
mov ecx, dword [ebx + 0x38]
call fcn.004211f0
test al, al
jne 0x404451
lea edx, [esp + 0x54]
push edx
lea ecx, [esp + 0xc8]
call fcn.00406920
cmp byte [esp + 0x31c8], 0
jne 0x404451
inc edi
lea eax, [esp + 0x21bc]
push eax
lea ecx, [esp + 0x297b8]
call fcn.00478320
test eax, eax
je 0x404311
mov ecx, dword [esp + 0x130]
mov esi, dword [esp + 0x34]
push edi
push ecx
xor edi, edi
push edi
push edi
mov ecx, ebx
call fcn.00401540
cmp dword [esp + 0x2a7cc], edi
je 0x4044c7
mov edx, dword [ebx + 0x38]
cmp byte [edx + 0x62b2], 0
je 0x4044bb
push 0x44c
call fcn.004750b0
push eax
call fcn.004ac840
add esp, 4
push 6
mov ecx, 0x51f7e8
call fcn.00433740
jmp 0x4044c7
push 6
mov ecx, 0x51f7e8
call fcn.00433620
lea ecx, [esp + 0xc4]
call fcn.00406df0
mov eax, dword [ebx + 0x38]
push eax
lea ecx, [esp + 0xf160]
call fcn.0040e2e0
mov byte [esp + 0x2ec70], 2
mov ecx, dword [ebx + 0x38]
push ecx
lea ecx, [esp + 0x3208]
call fcn.0040e2e0
mov byte [esp + 0x2ec70], 3
mov eax, dword [ebx + 0x38]
cmp byte [eax + 0x5126], 0
je 0x40451f
cmp byte [eax + 0x5124], 0
je 0x40451f
mov ecx, 1
jmp 0x404521
xor ecx, ecx
mov byte [esp + 0xe118], cl
mov edx, dword [eax + 0x73ac]
mov ecx, dword [eax + 0x73a8]
push edx
mov edx, dword [eax + 0x73a4]
push ecx
push edx
lea ecx, [esp + 0x3210]
call fcn.0040bb70
mov eax, dword [ebx + 0x38]
movzx ecx, byte [eax + 0x6195]
neg ecx
sbb ecx, ecx
and ecx, 3
inc ecx
push ecx
push esi
lea ecx, [esp + 0xf164]
call fcn.0043b180
test al, al
je 0x40487d
mov eax, dword [ebx + 0x38]
mov edx, dword [eax + 0x6160]
or edx, dword [eax + 0x6164]
jne 0x404593
cmp byte [esp + 0x1a068], dl
jne 0x4045e8
cmp dword [eax + 0x6148], edi
je 0x4045e8
lea ecx, [esp + 0xf15c]
call fcn.0043bac0
cmp eax, 0x14
jne 0x4045c4
cmp edx, edi
jne 0x4045c4
lea ecx, [esp + 0xf15c]
call fcn.0043b490
mov dword [esp + 0x1017c], 1
jmp 0x40488b
mov eax, dword [ebx + 0x38]
mov ecx, dword [eax + 0x6160]
or ecx, dword [eax + 0x6164]
je 0x4045e8
mov dword [eax + 0x6160], edi
mov dword [eax + 0x6164], edi
mov byte [ebx + 0x18f8], 0
push edi
lea ecx, [esp + 0xf160]
call fcn.0040e540
lea ecx, [esp + 0xf15c]
call fcn.0040ba60
test al, al
jne 0x404610
push esi
mov ecx, 0x51f7e8
call fcn.00433cc0
lea ecx, [esp + 0xf15c]
call fcn.0040b810
push edi
lea ecx, [esp + 0xf160]
call fcn.0040b8c0
test al, al
je 0x404639
push 4
mov ecx, 0x51f7e8
call fcn.00433740
lea ecx, [esp + 0xf15c]
call fcn.0040b980
test al, al
je 0x404655
push 3
mov ecx, 0x51f7e8
call fcn.00433740
mov dl, byte [esp + 0x1a068]
mov byte [esp + 0xe110], dl
push 1
push esi
push edi
call fcn.0040a330
cmp dword [esp + 0xf160], 0xffffffff
mov eax, dword [esp + 0x130]
setne byte [esp + 0x17]
xor esi, esi
xor edi, edi
mov byte [esp + 0x14], 0
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], edi
cmp eax, esi
jbe 0x404760
lea esp, [esp]
push esi
lea ecx, [esp + 0xc8]
call fcn.00406970
cmp dword [eax + 0x2c], 2
je 0x4046ca
push esi
lea ecx, [esp + 0xc8]
call fcn.00406970
cmp dword [eax + 0x2c], 3
jne 0x40474c
push esi
lea ecx, [esp + 0xc8]
call fcn.00406970
mov ecx, dword [eax + 0xc]
cmp ecx, edi
jb 0x404700
ja 0x4046e9
mov edx, dword [eax + 8]
cmp edx, dword [esp + 0x2c]
jbe 0x404700
push esi
lea ecx, [esp + 0xc8]
call fcn.00406970
mov ecx, dword [eax + 8]
mov edi, dword [eax + 0xc]
mov dword [esp + 0x2c], ecx
push esi
lea ecx, [esp + 0xc8]
call fcn.00406970
mov edx, dword [eax + 8]
add dword [esp + 0xe144], edx
mov eax, dword [eax + 0xc]
push esi
adc dword [esp + 0xe14c], eax
lea ecx, [esp + 0xc8]
call fcn.00406970
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x3208]
call fcn.0040b8a0
add dword [esp + 0xe14c], eax
adc dword [esp + 0xe150], 0
mov eax, dword [esp + 0x130]
inc esi
cmp esi, eax
jb 0x4046a0
mov dword [esp + 0x30], edi
cmp byte [esp + 0x17], 0
je 0x40494e
test eax, eax
jne 0x40477e
mov edx, dword [ebx + 0x38]
cmp byte [edx + 0x62b2], al
je 0x4049a8
lea ecx, [esp + 0x3204]
call fcn.0040b9c0
push 0
push 1
lea eax, [esp + 0xf164]
push eax
lea ecx, [esp + 0x3210]
call fcn.004102f0
lea ecx, [esp + 0xe122]
push ecx
lea edx, [esp + 0x19]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0xd0]
push ecx
lea edx, [esp + 0xf16c]
push edx
mov ecx, ebx
call fcn.00402a70
cmp byte [esp + 0x15], 0
je 0x4049a8
xor esi, esi
cmp dword [esp + 0x130], esi
jbe 0x404814
lea edi, [esi + 4]
jmp 0x4047f0
push esi
lea ecx, [esp + 0xc8]
call fcn.00406970
cmp dword [eax + 0x2c], edi
jne 0x4049a4
inc esi
cmp esi, dword [esp + 0x130]
jb 0x4047f0
mov edi, dword [esp + 0x30]
mov eax, dword [ebx + 0x38]
cmp dword [eax + 0x6180], 0
jne 0x4049a8
push 0xa
mov ecx, 0x51f7e8
call fcn.00433620
lea ecx, [esp + 0x3204]
call fcn.0043b490
mov byte [esp + 0x2ec70], 2
lea ecx, [esp + 0x3204]
call fcn.0040c0b0
mov byte [esp + 0x2ec70], 1
lea ecx, [esp + 0xf15c]
call fcn.0040c0b0
mov byte [esp + 0x2ec70], 0
lea ecx, [esp + 0xc4]
call fcn.00402a00
jmp 0x40641b
cmp dword [esp + 0x1017c], 1
jne 0x404931
push 1
push esi
lea ecx, [esp + 0x320c]
mov byte [esp + 0xe15c], 1
call fcn.0043b8c0
mov edx, dword [ebx + 0x38]
cmp word [edx + 0x1010], di
je 0x404910
lea ecx, [esp + 0x1194]
call fcn.0043b140
mov byte [esp + 0x2ec70], 4
mov eax, dword [ebx + 0x38]
add eax, 0x1010
push eax
lea ecx, [esp + 0x1198]
call fcn.0043b880
push 0x7fffffff
push 0x7fffffff
lea ecx, [esp + 0x320c]
push ecx
lea ecx, [esp + 0x11a0]
call fcn.0043bd80
mov dword [esp + 0xe11c], eax
mov byte [esp + 0x2ec70], 3
lea ecx, [esp + 0x1194]
call fcn.0043b850
mov eax, dword [ebx + 0x38]
cmp dword [eax + 0x6148], edi
je 0x40492b
cmp dword [eax + 0x6134], edi
je 0x40492b
mov byte [esp + 0xe110], 1
push edi
jmp 0x404665
push esi
push edi
mov ecx, 0x51f7e8
call fcn.00433b30
push 9
mov ecx, 0x51f7e8
call fcn.00433740
jmp 0x40466c
mov ecx, dword [ebx + 0x38]
xor edx, edx
cmp byte [ecx + 0x6197], dl
push 0
setne dl
push 0
lea eax, [esp + 0xf164]
push eax
lea ecx, [esp + 0x3210]
add edx, 2
mov dword [esp + 0xe118], edx
call fcn.004102f0
mov eax, dword [ebx + 0x38]
mov ecx, dword [eax + 0x6160]
mov eax, dword [eax + 0x6164]
mov edx, ecx
or edx, eax
je 0x4049a8
push eax
push ecx
lea eax, [esp + 0x320c]
push eax
call fcn.00492380
jmp 0x4049a8
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0xe10c]
push ecx
mov ecx, dword [ebx + 0x38]
call fcn.00420b30
xor esi, esi
cmp dword [esp + 0x130], esi
jbe 0x404a13
mov edx, dword [ebx + 0x38]
cmp byte [edx + 0x6153], 0
je 0x4049e2
push esi
lea ecx, [esp + 0xc8]
call fcn.00406970
cmp dword [eax + 0x2c], 2
je 0x4049f5
push esi
lea ecx, [esp + 0xc8]
call fcn.00406970
cmp dword [eax + 0x2c], 1
jne 0x404a09
push esi
lea ecx, [esp + 0xc8]
call fcn.00406970
mov dword [eax + 0x2c], 0
inc esi
cmp esi, dword [esp + 0x130]
jb 0x4049c3
mov esi, dword [ebx + 0x38]
cmp word [esi + 0x73b0], 0
jne 0x404ab1
cmp byte [esp + 0x17], 0
je 0x404a35
cmp byte [esp + 0x1a068], 0
jne 0x404ab1
cmp byte [esp + 0x16], 0
jne 0x404ab1
mov eax, dword [esi + 0x6148]
test eax, eax
je 0x404a56
mov ecx, dword [esp + 0xe144]
mov edx, dword [esp + 0xe148]
jmp 0x404a5c
mov ecx, dword [esp + 0x2c]
mov edx, edi
neg eax
sbb eax, eax
and eax, 0xe0000
add eax, 0x20000
cmp dword [esi + 0xc], eax
jbe 0x404ab1
push 0
push 2
push edx
push ecx
call fcn.004c13d0
mov edi, eax
lea esp, [esp]
mov ecx, dword [ebx + 0x38]
mov eax, dword [ecx + 0xc]
xor esi, esi
cmp esi, edx
jb 0x404ab1
ja 0x404a92
cmp eax, edi
jbe 0x404ab1
shr dword [ecx + 0xc], 1
mov ecx, dword [ebx + 0x38]
mov eax, dword [ecx + 0x6148]
neg eax
sbb eax, eax
and eax, 0xe0000
add eax, 0x20000
cmp dword [ecx + 0xc], eax
ja 0x404a80
cmp dword [esp + 0xe10c], 2
mov ecx, 0x400000
jne 0x404acb
mov eax, dword [ebx + 0x38]
cmp dword [eax + 0xc], ecx
jbe 0x404acb
mov dword [eax + 0xc], ecx
cmp byte [esp + 0xe110], 0
je 0x404ae5
mov ecx, dword [ebx + 0x38]
cmp byte [ecx + 0x617d], 0
jne 0x404ae5
mov al, 1
jmp 0x404ae7
xor al, al
xor edi, edi
push edi
push eax
lea ecx, [esp + 0xcc]
call fcn.00407090
mov edx, dword [ebx + 0x38]
cmp dword [edx + 0x61a0], edi
je 0x404b30
cmp dword [esp + 0xe10c], 3
jne 0x404b30
push 0x62c
call fcn.004750b0
push eax
call fcn.0049f870
call fcn.0049ff80
lea eax, [esp + 0xc4]
push eax
mov ecx, ebx
call fcn.00402220
mov ecx, dword [ebx + 0x3c]
cmp ecx, edi
je 0x404b3f
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
cmp byte [esp + 0x17], 0
je 0x404b7a
cmp dword [esp + 0x1a064], 3
je 0x404b86
push 0x1b498
call fcn.004c1c10
add esp, 4
mov dword [esp + 0x24], eax
mov byte [esp + 0x2ec70], 6
cmp eax, edi
je 0x404bb0
lea ecx, [ebx + 0x58]
push ecx
mov ecx, eax
call fcn.0045c460
jmp 0x404bb2
mov ecx, dword [ebx + 0x38]
cmp byte [ecx + 0x6197], 0
je 0x404b50
push 0x6228
call fcn.004c1c10
add esp, 4
mov dword [esp + 0x24], eax
mov byte [esp + 0x2ec70], 5
cmp eax, edi
je 0x404bb0
lea edx, [ebx + 0x58]
push edx
mov ecx, eax
call fcn.00455bb0
jmp 0x404bb2
xor eax, eax
mov byte [esp + 0x2ec70], 3
mov edx, dword [ebx + 0x38]
mov dword [ebx + 0x3c], eax
mov dword [edx + 0xa3c8], eax
lea eax, [ebx + 0x58]
push eax
lea ecx, [esp + 0x1b0b8]
call fcn.0048fe80
mov byte [esp + 0x2ec70], 7
mov ecx, dword [ebx + 0x3c]
mov eax, dword [ebx + 0x38]
mov edx, dword [ecx]
mov eax, dword [eax + 0x83b0]
mov edx, dword [edx + 0x20]
push eax
call edx
mov eax, dword [ebx + 0x38]
mov ecx, dword [eax + 0x83b0]
cmp ecx, 8
jb 0x404c05
mov ecx, 8
mov dword [esp + 0x1b0d0], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [ebx + 0x3c]
mov edx, dword [ecx]
mov esi, eax
push eax
mov eax, dword [edx + 4]
call eax
test al, al
jne 0x404c56
mov edi, 0x100000
jmp 0x404c30
mov eax, dword [ebx + 0x38]
cmp dword [eax + 0xc], edi
jbe 0x404cf6
shr dword [eax + 0xc], 1
mov ecx, dword [ebx + 0x3c]
mov eax, dword [ebx + 0x38]
mov edx, dword [ecx]
mov eax, dword [eax + 0xc]
mov edx, dword [edx + 4]
push eax
call edx
test al, al
je 0x404c30
xor edi, edi
mov ecx, dword [ebx + 0x38]
mov eax, dword [ecx + 0xc]
cmp esi, eax
je 0x404c7b
shr eax, 0x14
push eax
shr esi, 0x14
push esi
push 0x663
call fcn.004750b0
push eax
call fcn.004ac840
add esp, 0xc
mov ecx, dword [ebx + 0x3c]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
lea esi, [ebx + 8]
push esi
call eax
cmp byte [esp + 0x1a068], 0
lea eax, [ebx + 0x58]
mov dword [esi + 0x24], ebx
mov ecx, dword [ebx + 0x38]
mov dword [esi + 0x2c], eax
lea edx, [esp + 0xf15c]
lea eax, [esp + 0x3204]
mov dword [esi + 0x28], ecx
mov dword [esi + 0x20], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], eax
mov byte [esp + 0x15], 0
mov byte [esp + 0x16], 0
je 0x404d4d
mov ecx, dword [ebx + 0x38]
cmp byte [ecx + 0x5124], 0
jne 0x404ce0
cmp byte [esp + 0x14], 0
je 0x404d2d
mov edx, dword [ebx + 0x48]
add dword [esp + 0xe144], edx
mov eax, dword [ebx + 0x4c]
adc dword [esp + 0xe148], eax
jmp 0x404d32
push 1
push section..data
lea ecx, [esp + 0x4c]
call fcn.004c0cfe
mov byte [esp + 0x2ec70], 8
mov dword [esp + 0x44], vtable.std::bad_alloc.0
mov byte [esp + 0x2ec70], 7
push 0x4e1fec
lea eax, [esp + 0x48]
push eax
call fcn.004c1b73
mov byte [esp + 0x15], 1
push edi
lea ecx, [esp + 0xf160]
call fcn.00410860
push edx
push eax
lea ecx, [esp + 0xf168]
call fcn.0040bbe0
xor esi, esi
mov dword [esp + 0x13c], esi
mov dword [esp + 0x140], edi
mov dword [esp + 0x144], edi
mov dword [esp + 0x148], edi
mov byte [esp + 0x2ec70], 9
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x1c], edi
cmp dword [esp + 0x130], edi
jbe 0x405bc3
lea esp, [esp]
mov ecx, dword [esp + 0x1c]
push ecx
lea ecx, [esp + 0xc8]
call fcn.00406970
mov ecx, 0x14
mov esi, eax
lea edi, [esp + 0x54]
rep movsd dword es:[edi], dword [esi]
cmp dword [esp + 0x80], 0
je 0x405ba6
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x90]
jmp 0x404dd0
mov eax, dword [esp + 0x80]
cmp eax, 6
je 0x4056de
cmp eax, 5
je 0x40582b
cmp eax, 4
je 0x405839
push 0
lea ecx, [esp + 0x96a8]
call fcn.00442240
lea ecx, [esp + 0x115c]
call fcn.00482210
lea ecx, [esp + 0x1164]
call fcn.00482210
lea ecx, [esp + 0x116c]
call fcn.00482210
lea ecx, [esp + 0x1194]
call fcn.0043b140
mov byte [esp + 0x2ec70], 0xb
cmp byte [esp + 0xa1], 0
je 0x404e79
cmp dword [esp + 0xe10c], 3
jne 0x404e79
mov edx, dword [ebx + 0x38]
cmp byte [edx + 0x6189], 0
mov byte [esp + 0x13], 1
je 0x404e7e
mov ecx, dword [esp + 0x54]
lea eax, [esp + 0x96a4]
push eax
push ecx
call fcn.00436880
cmp dword [esp + 0xa794], 0
jne 0x404e7e
mov byte [esp + 0x13], 0
mov al, byte [esp + 0xa0]
test al, al
jne 0x404ea1
cmp byte [esp + 0x13], al
je 0x404e9a
mov edx, dword [ebx + 0x38]
cmp byte [edx + 0x6189], al
jne 0x404ea1
mov byte [esp + 0x28], 0
jmp 0x404eba
mov byte [esp + 0x28], 1
test al, al
je 0x404eba
mov eax, dword [ebx + 0x38]
cmp dword [eax + 0x6158], 1
je 0x405b92
mov eax, dword [ebx + 0x38]
cmp word [eax + 0x73b0], 0
jne 0x404f07
movzx ecx, byte [eax + 0x6189]
mov eax, dword [esp + 0x54]
push ecx
lea edx, [esp + 0x150]
push edx
push eax
call fcn.00441530
cmp byte [esp + 0xa0], 0
mov byte [esp + 0x13], al
je 0x404f17
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x74]
push ecx
push edx
lea ecx, [esp + 0x1174]
call fcn.00482150
jmp 0x404f17
mov byte [esp + 0x13], 0
mov dword [esp + 0x11a0], 1
mov cl, byte [esp + 0x28]
test cl, cl
jne 0x40509e
mov eax, dword [ebx + 0x38]
cmp word [eax + 0x73b0], 0
jne 0x40509e
cmp byte [esp + 0x13], cl
je 0x404f5a
movzx eax, byte [eax + 0x6195]
mov ecx, dword [esp + 0x54]
neg eax
sbb eax, eax
and eax, 4
push eax
push ecx
lea ecx, [esp + 0x119c]
call fcn.0043b180
cmp dword [esp + 0x1198], 0xffffffff
jne 0x404ffb
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x34]
push edx
push eax
mov ecx, 0x51f7e8
call fcn.00433b00
mov ecx, dword [esp + 0x5c]
sub dword [esp + 0xe144], ecx
mov edx, dword [esp + 0x60]
push edi
sbb dword [esp + 0xe14c], edx
lea ecx, [esp + 0xc8]
call fcn.00406970
inc dword [esp + 0x20]
mov dword [eax + 0x2c], 0
test esi, esi
jl 0x405b92
jg 0x404fc2
cmp dword [esp + 0x8c], 0
jbe 0x405b92
cmp dword [esp + 0x98], 0
jne 0x405b92
mov dword [esp + 0x80], 4
mov dword [ebx + 0x40], 0
mov byte [esp + 0x2ec70], 9
lea ecx, [esp + 0x1194]
call fcn.0043b850
jmp 0x404dd0
cmp byte [esp + 0x13], 0
je 0x405016
lea ecx, [esp + 0x115c]
call fcn.00482140
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], edx
cmp byte [esp + 0xa1], 0
jne 0x4050bc
mov eax, dword [ebx + 0x38]
cmp byte [eax + 0x618a], 0
je 0x4050bc
cmp dword [esp + 0xe10c], 3
jne 0x4050bc
lea ecx, [esp + 0xa4]
push ecx
lea edx, [esp + 0x140]
push edx
lea eax, [esp + 0x119c]
push eax
mov ecx, ebx
mov dword [esp + 0xb0], edi
call fcn.00402db0
test al, al
je 0x4050bc
mov edx, dword [esp + 0xa4]
push 0x800
lea ecx, [esp + 0xa79c]
push ecx
push edx
lea ecx, [esp + 0xd0]
mov dword [esp + 0xa7a0], 4
call fcn.00406970
push eax
mov eax, dword [ebx + 0x38]
push eax
jmp 0x405127
cmp byte [esp + 0xa1], 0
jne 0x4050b8
xor eax, eax
mov dword [esp + 0x114c], eax
mov dword [esp + 0x1150], eax
test cl, cl
jne 0x405131
cmp dword [esp + 0x9c], 0xffffffff
je 0x405131
cmp dword [esp + 0x1198], 0xffffffff
je 0x4050dc
lea ecx, [esp + 0x1194]
call fcn.0043b430
mov esi, dword [esp + 0x9c]
push esi
lea ecx, [esp + 0xc8]
call fcn.00406970
mov eax, dword [eax + 0x2c]
cmp eax, 2
je 0x4050fd
cmp eax, 3
jne 0x405131
push 0x800
lea ecx, [esp + 0xa79c]
push ecx
push esi
lea ecx, [esp + 0xd0]
mov dword [esp + 0xa7a0], 5
call fcn.00406970
mov edx, dword [ebx + 0x38]
push eax
push edx
call fcn.00401680
mov byte [esp + 0x28], 1
mov eax, dword [esp + 0x54]
push eax
push 1
mov ecx, 0x51f7f4
call fcn.00420da0
mov eax, dword [ebx + 0x38]
push 0x800
lea ecx, [esp + 0x96c8]
push ecx
lea edx, [esp + 0x5c]
push edx
push eax
call fcn.00401680
cmp byte [esp + 0x16], 0
je 0x4051cc
lea ecx, [esp + 0xf15c]
call fcn.0040bc20
push 0
lea ecx, [esp + 0xf160]
mov esi, eax
mov edi, edx
call fcn.00410860
push edx
push eax
lea ecx, [esp + 0xf168]
call fcn.0040bbe0
push 0
lea ecx, [esp + 0x1b0b8]
push ecx
push edi
push esi
lea edx, [esp + 0xf16c]
push edx
mov ecx, ebx
call fcn.004027c0
mov edx, dword [ebx + 0x38]
mov edx, dword [edx + 0x6134]
mov ecx, dword [ebx + 0x3c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
dec edx
push edx
lea edx, [esp + 0x1b0b8]
push edx
call eax
mov byte [ebx + 0x54], 1
xor edi, edi
cmp byte [esp + 0xe110], 0
mov byte [esp + 0x16], 0
mov byte [esp + 0x15], 0
je 0x4052fb
mov eax, dword [ebx + 0x38]
mov ecx, dword [eax + 0x6148]
mov byte [esp + 0x14], 0
test cl, 2
je 0x405219
mov esi, dword [eax + 0x614c]
cmp esi, edi
jle 0x405219
cmp dword [esp + 0x18], edi
jle 0x405219
mov eax, dword [esp + 0x18]
cdq
idiv esi
test edx, edx
jne 0x405219
mov byte [esp + 0x14], 1
test cl, 4
je 0x405264
lea ecx, [esp + 0x96c4]
push ecx
call fcn.00460530
mov esi, eax
cmp esi, edi
je 0x40525a
lea edx, [esp + 0x2d7dc]
push edx
push esi
call fcn.0047ef20
test eax, eax
je 0x405248
mov byte [esp + 0x14], 1
push 0x40
push esi
lea eax, [esp + 0x2d7e4]
push eax
call fcn.0047ef70
jmp 0x405264
xor ecx, ecx
mov word [esp + 0x2d7dc], cx
mov edx, dword [ebx + 0x38]
mov edx, dword [edx + 0x6148]
test dl, 8
jne 0x4052c6
lea ecx, [esp + 0x3222]
lea eax, [esp + 0x2dc5c]
mov si, word [eax]
cmp si, word [ecx]
jne 0x4052a6
cmp si, di
je 0x4052a2
mov si, word [eax + 2]
cmp si, word [ecx + 2]
jne 0x4052a6
add eax, 4
add ecx, 4
cmp si, di
jne 0x405280
xor eax, eax
jmp 0x4052ab
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x4052c6
test dl, 0x10
jne 0x4052cd
cmp dword [esp + 0x30], edi
jg 0x4052cd
jl 0x4052c6
cmp dword [esp + 0x2c], 0x400000
ja 0x4052cd
cmp byte [esp + 0x14], 0
je 0x4052eb
cmp dword [esp + 0x18], edi
jle 0x4052eb
mov ecx, dword [ebx + 0x3c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
call edx
mov byte [ebx + 0x54], 0
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
jmp 0x4052fb
mov eax, dword [esp + 0x5c]
add dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x60]
adc dword [esp + 0x30], ecx
xor eax, eax
lea ecx, [ecx]
movzx ecx, word [esp + eax + 0x3222]
mov word [esp + eax + 0x2dc5c], cx
add eax, 2
cmp cx, di
jne 0x405300
mov eax, dword [esp + 0x80]
cmp eax, 2
jne 0x40532e
mov edx, dword [esp + 0x54]
push edi
push edi
push edi
push edx
jmp 0x40533c
cmp eax, 3
jne 0x405342
mov eax, dword [esp + 0x54]
push edi
push edi
push 1
push eax
push edi
call fcn.0040a370
mov eax, dword [ebx + 0x38]
cmp word [eax + 0x73b0], di
jne 0x40535e
mov ecx, dword [esp + 0x115c]
or ecx, dword [esp + 0x1160]
jne 0x405370
mov dword [esp + 0x114c], edi
mov dword [esp + 0x1150], 0x100
cmp dword [esp + 0xe10c], 3
mov edx, dword [esp + 0x114c]
mov ecx, dword [esp + 0x1150]
mov dword [esp + 0x96a8], 2
mov dword [esp + 0xa6f4], edx
mov dword [esp + 0xa6f8], ecx
mov dword [esp + 0xa6ec], edi
mov dword [esp + 0xa6f0], edi
jne 0x4053b7
mov edi, dword [eax + 0x6138]
jmp 0x4053bc
mov edi, 2
push edi
lea ecx, [esp + 0xa708]
call fcn.00441eb0
mov edx, dword [ebx + 0x38]
cmp byte [edx + 0x5124], 0
je 0x405479
cmp byte [esp + 0xa0], 0
jne 0x405479
mov esi, dword [esp + 0xe10c]
cmp esi, 3
jne 0x40542f
push 0x10
lea eax, [esp + 0xa749]
push eax
call fcn.00429c50
mov esi, dword [esp + 0xe10c]
xor ecx, ecx
cmp byte [esp + 0xe118], cl
mov dword [esp + 0xa780], 0xf
sete cl
mov byte [esp + 0xa755], 1
mov byte [esp + 0xa75e], cl
mov edx, dword [esp + 0xe122]
mov eax, dword [esp + 0xe126]
mov ecx, dword [esp + 0xe12a]
mov dword [esp + 0xa735], edx
mov edx, dword [esp + 0xe12e]
mov byte [esp + 0xa72f], 1
mov byte [esp + 0xa734], 1
mov dword [esp + 0xa739], eax
mov dword [esp + 0xa73d], ecx
mov dword [esp + 0xa741], edx
jmp 0x405480
mov esi, dword [esp + 0xe10c]
mov eax, esi
sub eax, 3
neg eax
sbb eax, eax
and eax, 0x1d
cmp byte [ebx + 0x54], 0
mov byte [esp + 0x96bd], al
mov eax, dword [ebx + 0x38]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0xa788], ecx
mov byte [esp + 0xa785], 0
je 0x4054b6
mov byte [esp + 0xa784], 1
cmp byte [esp + 0x13], 0
je 0x405515
mov edx, dword [esp + 0x115c]
mov ecx, dword [esp + 0x1160]
mov dword [esp + 0xa6d4], edx
mov edx, dword [esp + 0x116c]
mov dword [esp + 0xa6d8], ecx
mov ecx, dword [esp + 0x1170]
mov dword [esp + 0xa6e4], edx
mov edx, dword [esp + 0x1164]
mov dword [esp + 0xa6e8], ecx
mov ecx, dword [esp + 0x1168]
mov dword [esp + 0xa6dc], edx
mov dword [esp + 0xa6e0], ecx
xor edx, edx
jmp 0x405541
xor edx, edx
mov dword [esp + 0xa6d4], edx
mov dword [esp + 0xa6d8], edx
mov dword [esp + 0xa6e4], edx
mov dword [esp + 0xa6e8], edx
mov dword [esp + 0xa6dc], edx
mov dword [esp + 0xa6e0], edx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x96c0], ecx
cmp esi, 2
je 0x40555a
cmp dword [esp + 0xa794], edx
jne 0x405567
and ecx, 0xfffffbff
mov dword [esp + 0x96c0], ecx
cmp dword [esp + 0xa6f8], edx
movzx ecx, byte [esp + 0xa0]
mov byte [esp + 0xa785], cl
movzx ecx, byte [eax + 0x6134]
mov byte [esp + 0x96be], cl
jg 0x4055aa
jl 0x40559c
cmp dword [esp + 0xa6f4], 0x80000000
ja 0x4055aa
cmp word [eax + 0x73b0], dx
jne 0x4055aa
cmp esi, 3
jne 0x4055b2
mov byte [esp + 0xa78d], 1
mov edx, dword [eax + 0x83b0]
push edx
push edi
lea ecx, [ebx + 0x24ac]
call fcn.00442000
lea eax, [esp + 0x3204]
push eax
lea ecx, [esp + 0x1198]
push ecx
lea esi, [ebx + 0x58]
mov ecx, esi
mov dword [esp + 0xa798], 0
call fcn.00467a30
xor eax, eax
mov dword [ebx + 0x1908], eax
mov dword [ebx + 0x190c], eax
mov eax, dword [esp + 0x114c]
mov dword [esp + 0xa6fc], eax
mov edx, dword [esp + 0x1150]
xor edi, edi
cmp byte [esp + 0x28], 0
mov byte [ebx + 0xa8], 1
mov dword [esp + 0xa700], edx
jne 0x405a55
mov ecx, dword [ebx + 0x38]
cmp word [ecx + 0x73b0], di
jne 0x405a55
lea edx, [esp + 0x3e]
push edx
lea eax, [esp + 0x43]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
call fcn.00467950
cmp byte [esp + 0x3f], 0
je 0x405969
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x34]
push edx
push eax
mov ecx, 0x51f7e8
call fcn.00433b00
mov ecx, dword [esp + 0x5c]
sub dword [esp + 0xe144], ecx
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x60]
sbb dword [esp + 0xe148], edx
push eax
lea ecx, [esp + 0xc8]
call fcn.00406970
inc dword [esp + 0x20]
cmp dword [esp + 0x90], edi
mov dword [eax + 0x2c], edi
jl 0x405b92
jg 0x4056b7
cmp dword [esp + 0x8c], edi
jbe 0x405b92
mov dword [esp + 0x80], 4
mov dword [ebx + 0x40], edi
mov byte [esp + 0x2ec70], 9
lea ecx, [esp + 0x1194]
call fcn.0043b850
jmp 0x404dbc
mov edx, dword [esp + 0xf15c]
mov eax, dword [edx + 0xc]
lea ecx, [esp + 0xf15c]
mov dword [esp + 0xac], ecx
call eax
mov esi, eax
mov edi, edx
mov dword [esp + 0xb4], esi
mov dword [esp + 0xb8], edi
mov byte [esp + 0x2ec70], 0xa
mov ecx, dword [ebx + 0x3c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x8c]
push 0
push ecx
push edx
lea ecx, [esp + 0xf168]
call fcn.0040bbe0
lea ecx, [esp + 0xf15c]
call fcn.004130e0
mov eax, dword [esp + 0x148d0]
cmp eax, 2
je 0x4057b1
cmp eax, 3
je 0x4057ba
mov al, byte [esp + 0x1a070]
cmp al, byte [esp + 0xe118]
jne 0x405807
mov ecx, dword [esp + 0x1a058]
mov edx, dword [esp + 0x1a054]
push 0
push ecx
push edx
lea ecx, [esp + 0xf168]
call fcn.0040bbe0
mov eax, dword [esp + 0x1a05c]
sub eax, dword [esp + 0x1a054]
mov ecx, dword [esp + 0x1a060]
sbb ecx, dword [esp + 0x1a058]
lea edx, [esp + 0x3204]
push ecx
push eax
push edx
jmp 0x4057fb
lea ecx, [esp + 0x155fc]
jmp 0x4057c1
lea ecx, [esp + 0x1793c]
push 0
push 0
push ecx
push eax
lea ecx, [esp + 0x3214]
call fcn.0040e620
lea ecx, [esp + 0xf15c]
call fcn.0040bc20
mov ecx, dword [esp + 0x1a05c]
sub ecx, eax
mov eax, dword [esp + 0x1a060]
sbb eax, edx
push eax
push ecx
lea ecx, [esp + 0x320c]
push ecx
lea ecx, [esp + 0xf168]
call fcn.0043bd80
mov byte [esp + 0x2ec70], 9
mov edx, dword [esp + 0xf15c]
mov eax, dword [edx + 8]
push 0
push edi
push esi
lea ecx, [esp + 0xf168]
call eax
jmp 0x405ba6
inc dword [esp + 0x38]
call fcn.0047fae0
jmp 0x405ba6
cmp byte [esp + 0x1a068], 0
je 0x4058a3
cmp byte [esp + 0x15], 0
jne 0x4058a3
mov edx, dword [esp + 0x8c]
push 0
lea ecx, [esp + 0x1b0b8]
push ecx
push esi
push edx
lea eax, [esp + 0xf16c]
push eax
mov ecx, ebx
call fcn.004027c0
mov ecx, dword [esp + 0x98]
mov eax, dword [ebx + 0x3c]
push ecx
push 0
lea edx, [esp + 0x1b0bc]
push edx
push eax
lea ecx, [esp + 0x3214]
push ecx
lea edx, [esp + 0xf170]
push edx
mov ecx, ebx
call fcn.00403680
call fcn.0047fae0
jmp 0x405ba6
mov ecx, dword [ebx + 0x3c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
call edx
mov eax, dword [esp + 0x8c]
push 0
push esi
push eax
lea ecx, [esp + 0xf168]
call fcn.0040bbe0
lea ecx, [esp + 0xf15c]
call fcn.004130e0
lea ecx, [esp + 0x155fc]
push ecx
lea ecx, [esp + 0x96a8]
call fcn.00442320
mov eax, dword [esp + 0x98]
test eax, eax
je 0x4058ff
push eax
lea edx, [esp + 0x96a8]
push edx
mov ecx, ebx
call fcn.00401790
lea ecx, [esp + 0xf15c]
call fcn.00410780
test al, al
jne 0x40591a
mov al, byte [esp + 0x1a068]
mov byte [esp + 0x16], al
cmp byte [esp + 0x16], 0
je 0x405937
mov ecx, dword [ebx + 0x38]
mov eax, dword [ecx + 0xc]
cmp eax, dword [esp + 0xa788]
jbe 0x405937
mov dword [esp + 0xa788], eax
push 0
push 0
push 0
push 2
lea ecx, [esp + 0x3214]
call fcn.0040e620
lea edx, [esp + 0xf15c]
push edx
lea ecx, [esp + 0x3208]
call fcn.0040ba10
call fcn.0047fae0
jmp 0x405ba6
cmp byte [esp + 0x3e], 0
je 0x4059be
mov ecx, dword [esp + 0x1150]
mov edx, dword [esp + 0x24]
xor eax, eax
cmp ecx, eax
mov eax, dword [esp + 0x114c]
ja 0x4059a6
jb 0x40598e
cmp eax, edx
jae 0x4059a6
mov byte [esp + 0x40], 1
mov edx, dword [esp + 0x40]
push edx
push 1
push ecx
push eax
call fcn.00401830
jmp 0x405a47
mov byte [esp + 0x40], 0
mov edx, dword [esp + 0x40]
push edx
push 1
push ecx
push eax
call fcn.00401830
jmp 0x405a47
mov eax, dword [esp + 0x24]
xor ecx, ecx
mov esi, ecx
push esi
mov dword [esp + 0x1150], eax
mov edi, eax
add eax, 0x200
mov dword [esp + 0x1154], ecx
push 2
adc ecx, ecx
push ecx
push eax
call fcn.004c13d0
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edx
cmp edx, esi
ja 0x405a05
jb 0x4059f9
cmp eax, edi
jae 0x405a05
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], 0x40000000
mov edi, dword [esp + 0x44]
mov esi, 1
xor eax, eax
mov edx, esi
add edx, 0xffffffff
mov ecx, eax
adc ecx, 0xffffffff
cmp dword [esp + 0x48], ecx
jb 0x405a39
ja 0x405a26
cmp edi, edx
jb 0x405a39
shld eax, esi, 7
shl esi, 7
mov edx, esi
or edx, eax
jne 0x405a10
mov edx, dword [esp + 0x48]
jmp 0x405a43
add esi, 0xffffffff
adc eax, 0xffffffff
mov edi, esi
mov edx, eax
mov eax, edi
xor edi, edi
mov dword [esp + 0xa6fc], eax
mov dword [esp + 0xa700], edx
mov ecx, dword [esp + 0xe10c]
inc dword [esp + 0x18]
cmp ecx, 3
jne 0x405a71
mov dword [ebx + 0x1930], eax
mov dword [ebx + 0x1934], edx
test byte [esp + 0x94], 1
jne 0x405a8a
mov eax, dword [ebx + 0x38]
cmp dword [eax + 0x6134], edi
je 0x405a8a
xor al, al
jmp 0x405a8c
mov al, 1
cmp byte [esp + 0x28], 0
mov byte [esp + 0x14], al
jne 0x405a9b
test al, al
je 0x405ac0
mov edx, dword [ebx + 0x38]
mov byte [esp + 0x96be], 0
cmp byte [edx + 0x5124], 0
jne 0x405abc
cmp ecx, 3
je 0x405abc
mov byte [esp + 0x96bd], 0x14
test al, al
jne 0x405aec
mov ecx, dword [ebx + 0x3c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
call edx
xor ecx, ecx
add eax, dword [esp + 0xa6f4]
adc ecx, dword [esp + 0xa6f8]
mov dword [esp + 0xa8], ecx
js 0x405af6
jg 0x405aec
cmp eax, 0x8000
jbe 0x405af6
mov ecx, dword [ebx + 0x3c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x54]
mov eax, dword [ebx + 0x3c]
push ecx
push 1
push edx
push eax
lea ecx, [esp + 0x11a4]
push ecx
lea esi, [ebx + 8]
mov ecx, esi
call fcn.00403460
cmp byte [esp + 0x28], 0
jne 0x405b76
cmp byte [esp + 0x14], 0
je 0x405b47
push edi
mov ecx, esi
call fcn.00403520
lea eax, [ebx + 0x58]
push eax
call fcn.00402d00
push edi
mov ecx, esi
call fcn.00402f30
mov dword [esi + 8], edi
mov dword [esi + 4], edi
jmp 0x405b76
mov eax, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x3c]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
lea esi, [eax + 0x62dc]
mov eax, dword [eax + 0x6134]
push esi
dec eax
push eax
movzx eax, byte [ebx + 0x54]
push eax
call edx
cmp byte [esp + 0xe110], 0
je 0x405b80
mov byte [ebx + 0x54], 1
cmp byte [esp + 0xe110], 0
jne 0x405b8a
mov ecx, dword [ebx + 0x3c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
call edx
call fcn.0047fae0
mov dword [ebx + 0x28], edi
mov byte [esp + 0x2ec70], 9
lea ecx, [esp + 0x1194]
call fcn.0043b850
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
cmp eax, dword [esp + 0x130]
jb 0x404d90
mov esi, dword [esp + 0x13c]
mov ecx, dword [ebx + 0x3c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
call edx
cmp dword [esp + 0x20], 0
mov eax, dword [ebx + 0x38]
mov dword [eax + 0xa3c8], 0
jle 0x405bed
push 6
mov ecx, 0x51f7e8
call fcn.00433620
cmp dword [esp + 0x18], 0
jne 0x405c8d
cmp dword [esp + 0x38], 0
jne 0x405c8d
push 0xa
mov ecx, 0x51f7e8
call fcn.00433620
lea ecx, [esp + 0x3204]
call fcn.0043b490
mov byte [esp + 0x2ec70], 7
test esi, esi
je 0x405c30
push esi
call fcn.004c1404
add esp, 4
mov byte [esp + 0x2ec70], 3
lea ecx, [esp + 0x1b0b4]
call fcn.0048d120
mov byte [esp + 0x2ec70], 2
lea ecx, [esp + 0x3204]
call fcn.0040c0b0
mov byte [esp + 0x2ec70], 1
lea ecx, [esp + 0xf15c]
call fcn.0040c0b0
mov byte [esp + 0x2ec70], 0xc
mov eax, dword [esp + 0x120]
test eax, eax
je 0x405c88
push eax
call fcn.004c1404
add esp, 4
jmp 0x4063ff
cmp byte [esp + 0x17], 0
je 0x405caa
lea ecx, [esp + 0xf15c]
push ecx
lea ecx, [esp + 0x3208]
call fcn.0040f1f0
jmp 0x405cba
push 0
push 0
lea ecx, [esp + 0x320c]
call fcn.0040f820
mov byte [esp + 0x2ec70], 7
test esi, esi
je 0x405ccf
push esi
call fcn.004c1404
add esp, 4
mov byte [esp + 0x2ec70], 3
lea ecx, [esp + 0x1b0b4]
call fcn.0048d120
lea edx, [esp + 0x3222]
push edx
push 0
mov ecx, 0x51f7f4
call fcn.00420da0
mov eax, dword [ebx + 0x38]
movzx esi, word [eax + 0x639c]
add eax, 0x639c
test si, si
je 0x405d35
xor ecx, ecx
cmp si, 0x40
sete cl
lea edx, [esp + 0x3222]
dec ecx
and eax, ecx
push eax
push edx
call fcn.0047fd40
test al, al
jne 0x405d35
push 2
mov ecx, 0x51f7e8
call fcn.00433740
mov eax, dword [ebx + 0x38]
cmp byte [eax + 0x6150], 0
je 0x405e69
push 0x33e
call fcn.004750b0
push eax
call fcn.0049f870
call fcn.0049ff80
cmp dword [esp + 0x130], 0
mov dword [esp + 0x38], 0
jbe 0x405e69
mov ecx, dword [esp + 0x38]
push ecx
lea ecx, [esp + 0xc8]
call fcn.00406970
mov esi, eax
mov ecx, 0x14
lea edi, [esp + 0x54]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x80]
cmp eax, 2
je 0x405da3
cmp eax, 3
jne 0x405e53
lea ecx, [esp + 0x115c]
call fcn.00482210
lea ecx, [esp + 0x1164]
call fcn.00482210
lea ecx, [esp + 0x116c]
call fcn.00482210
mov esi, dword [esp + 0x54]
push 0
lea edx, [esp + 0x150]
push edx
push esi
call fcn.00441530
test al, al
je 0x405e53
lea ecx, [esp + 0x115c]
call fcn.00482140
cmp eax, dword [esp + 0x6c]
jne 0x405e53
cmp edx, dword [esp + 0x70]
jne 0x405e53
mov eax, dword [esp + 0x114c]
cmp eax, dword [esp + 0x5c]
jne 0x405e53
mov ecx, dword [esp + 0x1150]
cmp ecx, dword [esp + 0x60]
jne 0x405e53
cmp byte [esp + 0xa0], 0
jne 0x405e53
mov edx, dword [esp + 0x64]
and edx, 0xffffffdf
push edx
push esi
call fcn.0043c3e0
test al, al
jne 0x405e46
push esi
push 0x4bf
call fcn.004750b0
push eax
mov eax, dword [esp + 0x3c]
push eax
call fcn.004ace90
add esp, 0xc
push esi
push 0
call fcn.0049f960
call fcn.0049ff80
mov eax, dword [esp + 0x38]
inc eax
mov dword [esp + 0x38], eax
cmp eax, dword [esp + 0x130]
jb 0x405d70
cmp word [esp + 0xe156], 0
lea eax, [esp + 0xe156]
jne 0x405e82
lea eax, [esp + 0x3222]
mov ecx, dword [ebx + 0x38]
push 0x800
push eax
add ecx, 0xb41a
push ecx
mov dword [esp + 0x24], eax
call fcn.0047ef70
mov edx, dword [ebx + 0x38]
cmp byte [edx + 0x62d9], 0
je 0x40611c
mov ecx, dword [0x53342c]
push 0x200
lea eax, [esp + 0x2d860]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edx, dword [esp + 0x18]
push edx
push 0x54
call fcn.004a03e0
mov ecx, dword [ebx + 0x3c]
test ecx, ecx
je 0x405ee0
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
push 0xc5e8
mov dword [ebx + 0x3c], 0
call fcn.004c1c10
add esp, 4
mov dword [esp + 0x24], eax
mov byte [esp + 0x2ec70], 0xf
test eax, eax
je 0x405f0d
mov ecx, eax
call fcn.00421670
jmp 0x405f0f
xor eax, eax
mov dword [esp + 0x1c], eax
mov byte [esp + 0x2ec70], 3
mov byte [eax + 0x62d9], 1
mov ecx, dword [ebx + 0x38]
mov edx, dword [ecx + 0x83b0]
mov dword [eax + 0x83b0], edx
mov dword [eax + 0x739c], 1
mov ecx, dword [ebx + 0x38]
movzx edx, byte [ecx + 0x6144]
mov byte [eax + 0x6144], dl
mov ecx, dword [ebx + 0x38]
movzx edx, byte [ecx + 0x6152]
mov byte [eax + 0x6152], dl
mov ecx, dword [ebx + 0x38]
movzx edx, byte [ecx + 0x6195]
mov byte [eax + 0x6195], dl
mov ecx, 0x4d7804
sub eax, ecx
lea edx, [eax + 0xa3fa]
jmp 0x405f80
movzx eax, word [ecx]
mov word [edx + ecx], ax
add ecx, 2
test ax, ax
jne 0x405f80
mov esi, dword [ebx + 0x38]
mov edi, dword [esp + 0x1c]
add esi, 0x5024
add edi, 0x5024
mov ecx, 0x40
rep movsd dword es:[edi], dword [esi]
mov byte [esp + 0x15], al
mov eax, dword [esp + 0x18]
push eax
movsw word es:[edi], word [esi]
call fcn.0043ca60
mov esi, dword [esp + 0x18]
test al, al
jne 0x406000
mov edi, 0x2e
jmp 0x405fd0
mov ecx, dword [ebx + 0x38]
cmp word [ecx + 0x639c], di
je 0x405ffb
push esi
call fcn.00491de0
test al, al
sete al
mov byte [esp + 0x15], al
cmp al, 1
je 0x406000
push esi
call fcn.0043ca60
test al, al
je 0x405fd0
jmp 0x406000
mov byte [esp + 0x15], 1
cmp byte [esp + 0x15], 0
mov byte [esp + 0x14], 0
jne 0x4060a6
mov edx, dword [ebx + 0x38]
cmp byte [edx + 0xa3dc], 0
jne 0x406021
call fcn.0049fd40
push esi
mov esi, dword [esp + 0x20]
mov ecx, esi
call fcn.004209a0
push 0x4d7800
lea ecx, [esi + 0xc41c]
call fcn.0047f330
mov eax, dword [0x51f7ec]
push 0x5c48
mov dword [esp + 0x28], eax
call fcn.004c1c10
add esp, 4
mov dword [esp + 0x40], eax
mov byte [esp + 0x2ec70], 0x10
test eax, eax
je 0x40606f
push esi
mov ecx, eax
call fcn.00439140
mov edi, eax
jmp 0x406071
xor edi, edi
mov byte [esp + 0x2ec70], 3
push esi
mov ecx, edi
call fcn.0043a8e0
test edi, edi
je 0x406095
mov ecx, edi
call fcn.00439220
push edi
call fcn.004c11a2
add esp, 4
mov ecx, dword [esp + 0x24]
cmp ecx, dword [0x51f7ec]
setne byte [esp + 0x14]
jmp 0x4060aa
mov esi, dword [esp + 0x1c]
mov ecx, esi
call fcn.00401b70
push esi
call fcn.004c11a2
add esp, 4
lea edx, [esp + 0x2d85c]
push edx
call fcn.0049f800
call fcn.0049ff80
cmp byte [esp + 0x14], 0
je 0x40611c
mov byte [esp + 0x2ec70], 2
lea ecx, [esp + 0x3204]
call fcn.0040c0b0
mov byte [esp + 0x2ec70], 1
lea ecx, [esp + 0xf15c]
call fcn.0040c0b0
mov byte [esp + 0x2ec70], 0x11
mov eax, dword [esp + 0x120]
test eax, eax
je 0x406117
push eax
call fcn.004c1404
add esp, 4
jmp 0x4063ff
mov eax, dword [ebp + 0x10]
cmp word [eax], 0x4d
je 0x406135
mov ecx, dword [ebx + 0x38]
cmp byte [ecx + 0x6196], 0
je 0x406397
push 0x33f
call fcn.004750b0
push eax
call fcn.0049f870
push 1
push 0
lea ecx, [esp + 0xcc]
call fcn.00407090
mov esi, dword [esp + 0x130]
or edi, 0xffffffff
lea ecx, [esp + 0xac]
dec esi
mov dword [esp + 0x40], edi
mov dword [esp + 0x24], edi
call fcn.0043d7a0
mov byte [esp + 0x2ec70], 0x14
mov ecx, dword [ebx + 0x38]
cmp byte [ecx + 0x619a], 0
mov byte [esp + 0x15], 0
je 0x4061cc
call fcn.004212e0
test al, al
jne 0x4061cc
cmp dword [esp + 0x20], 0
jne 0x4061cc
mov eax, dword [ebx + 0x38]
cmp byte [eax + 0x6153], 0
jne 0x4061cc
cmp byte [eax + 0x6154], 0
jne 0x4061cc
mov edi, dword [esp + 0x130]
mov byte [esp + 0x15], 1
xor esi, esi
mov dword [esp + 0x40], edi
mov dword [esp + 0x24], 1
mov dword [esp + 0x20], esi
cmp esi, edi
je 0x406383
test byte [esp + 0x20], 0xf
jne 0x4061e4
call fcn.0047fae0
mov edx, dword [esp + 0x20]
push edx
lea ecx, [esp + 0xc8]
call fcn.00406970
mov esi, eax
mov ecx, 0x14
lea edi, [esp + 0x54]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x80]
cmp eax, 2
je 0x406217
cmp eax, 3
jne 0x40636d
mov eax, dword [ebx + 0x38]
cmp byte [eax + 0x619a], 0
mov esi, dword [esp + 0x54]
jne 0x40623b
mov ecx, dword [esp + 0x64]
push ecx
call fcn.0043c360
test al, al
jne 0x40623b
push esi
call fcn.0043cb80
mov edx, dword [ebp + 0x10]
cmp word [edx + 2], 0x46
setne al
cmp byte [esp + 0xa0], 0
je 0x4062e6
test al, al
je 0x40636d
mov eax, dword [ebx + 0x38]
mov cl, byte [eax + 0x619a]
test cl, cl
je 0x4062a1
cmp byte [esp + 0x15], 0
je 0x4062a1
push esi
call fcn.0043ca60
test al, al
je 0x40636d
push esi
lea ecx, [esp + 0xb0]
call fcn.0043d860
lea ecx, [esp + 0xac]
call fcn.0043ccd0
mov byte [esp + 0x13], 1
jmp 0x406331
cmp byte [eax + 0x6199], 0
je 0x4062ce
push esi
call fcn.0043c6e0
test al, al
je 0x4062bc
push esi
call fcn.0043cd30
jmp 0x40632d
push 0x91
mov byte [esp + 0x17], 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x406331
test cl, cl
je 0x4062de
lea ecx, [esp + 0xac]
call fcn.0043ccd0
push esi
call fcn.0043c580
jmp 0x40632d
mov eax, dword [ebx + 0x38]
cmp byte [eax + 0x619a], 0
push esi
je 0x406318
call fcn.0043ca60
test al, al
je 0x40636d
push esi
lea ecx, [esp + 0xb0]
call fcn.0043d860
push esi
push 0
call fcn.0049f960
call fcn.0049ff80
jmp 0x40636d
cmp byte [eax + 0x6199], 0
je 0x406328
call fcn.0043d950
jmp 0x40632d
call fcn.0043c500
mov byte [esp + 0x13], al
cmp byte [esp + 0x13], 0
je 0x406347
push esi
push 0
call fcn.0049f960
call fcn.0049ff80
jmp 0x40636d
push esi
push 0x202
call fcn.004750b0
push eax
lea eax, [esp + 0x322a]
push eax
call fcn.004ace90
add esp, 0xc
mov ecx, 0x51f7e8
call fcn.00433750
mov eax, dword [esp + 0x20]
add eax, dword [esp + 0x24]
mov dword [esp + 0x20], eax
cmp eax, dword [esp + 0x40]
jne 0x4061d8
mov byte [esp + 0x2ec70], 3
lea ecx, [esp + 0xac]
call fcn.0043d800
cmp byte [esp + 0xe111], 0
je 0x4063bb
mov ebx, dword [ebx + 0x38]
cmp dword [ebx + 0x6140], 0
je 0x4063bb
lea ecx, [esp + 0xe156]
push ecx
push ebx
call fcn.0046b680
mov byte [esp + 0x2ec70], 2
lea ecx, [esp + 0x3204]
call fcn.0040c0b0
mov byte [esp + 0x2ec70], 1
lea ecx, [esp + 0xf15c]
call fcn.0040c0b0
mov byte [esp + 0x2ec70], 0x15
mov eax, dword [esp + 0x120]
test eax, eax
je 0x4063ff
push eax
call fcn.004c1404
add esp, 4
mov byte [esp + 0x2ec70], 0
mov eax, dword [esp + 0xc4]
test eax, eax
je 0x40641b
push eax
call fcn.004c1404
add esp, 4
mov dword [esp + 0x2ec70], 0xffffffff
lea ecx, [esp + 0x297b4]
call fcn.00477cf0
mov ecx, dword [esp + 0x2ec68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2ec50]
xor ecx, esp
call fcn.004c0c62
mov esp, ebp
pop ebp
ret 0xc