Function at 0x411fb0
Capabilities:
Link many functions at runtime
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x160
mov eax, dword [0x458648]
xor eax, esp
mov dword [esp + 0x15c], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x170]
push edi
push esi
mov dword [esp + 0x70], esi
mov byte [0x45aa80], 0x49
mov byte [0x45aa81], 0
call fcn.00401dd0
lea eax, [esp + 0x30]
push eax
call fcn.00405bb0
add esp, 8
push 0xffffffffffffffff
push 0
push eax
mov ecx, 0x457024
call fcn.004028e0
mov ebx, 0x10
cmp dword [esp + 0x44], ebx
jb 0x41201b
mov ecx, dword [esp + 0x30]
push ecx
call fcn.00413ce7
add esp, 4
lea edx, [esp + 0x2c]
push edx
call fcn.00406350
add esp, 4
push 0xffffffffffffffff
push 0
push eax
mov ecx, 0x457040
call fcn.004028e0
cmp dword [esp + 0x44], ebx
jb 0x41204a
mov eax, dword [esp + 0x30]
push eax
call fcn.00413ce7
add esp, 4
lea ecx, [esp + 0x2c]
push ecx
call fcn.00406c60
add esp, 4
push 0xffffffffffffffff
push 0
push eax
mov ecx, 0x45705c
call fcn.004028e0
cmp dword [esp + 0x44], ebx
jb 0x412079
mov edx, dword [esp + 0x30]
push edx
call fcn.00413ce7
add esp, 4
lea eax, [esp + 0x2c]
push eax
call fcn.00407790
add esp, 4
push 0xffffffffffffffff
push 0
push eax
mov ecx, 0x457078
call fcn.004028e0
cmp dword [esp + 0x44], ebx
jb 0x4120a8
mov ecx, dword [esp + 0x30]
push ecx
call fcn.00413ce7
add esp, 4
lea edx, [esp + 0x2c]
push edx
call fcn.00405580
add esp, 4
push 0xffffffffffffffff
push 0
push eax
mov ecx, 0x457094
call fcn.004028e0
cmp dword [esp + 0x44], ebx
jb 0x4120d7
mov eax, dword [esp + 0x30]
push eax
call fcn.00413ce7
add esp, 4
lea ecx, [esp + 0x2c]
push ecx
call fcn.0040c080
add esp, 4
push 0xffffffffffffffff
push 0
push eax
mov ecx, 0x4570b0
call fcn.004028e0
cmp dword [esp + 0x44], ebx
jb 0x412106
mov edx, dword [esp + 0x30]
push edx
call fcn.00413ce7
add esp, 4
push 0x6d
push esi
call dword [sym.imp.USER32.dll_LoadAcceleratorsA]
cmp dword [0x45703c], ebx
mov dword [esp + 0x48], eax
mov eax, dword [0x457028]
jae 0x412125
mov eax, 0x457028
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp dword [0x457058], ebx
mov ecx, dword [0x457044]
mov dword [0x459a68], eax
jae 0x412144
mov ecx, 0x457044
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ecx
push eax
call esi
cmp dword [0x457090], ebx
mov ebp, eax
mov eax, dword [0x45707c]
jae 0x412162
mov eax, 0x45707c
push eax
mov eax, dword [0x459a68]
push eax
call esi
cmp dword [0x457074], ebx
mov esi, eax
mov eax, dword [0x457060]
jae 0x41217f
mov eax, 0x457060
mov ecx, dword [0x459a68]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp dword [0x4570ac], ebx
mov edi, eax
mov eax, dword [0x457098]
mov dword [esp + 0x64], edi
jae 0x4121a5
mov eax, 0x457098
push 0
push 0
push 0
push 1
push eax
call ebp
cmp dword [0x4570c8], ebx
mov ecx, dword [0x4570b4]
mov dword [0x45aa74], eax
jae 0x4121c8
mov ecx, 0x4570b4
push 0
push SysReAllocStringLen
push 0
push 0
push ecx
push eax
call esi
push 0
push 0x448730
mov ecx, 0x4570cc
mov dword [0x45aa70], eax
call fcn.00402f60
mov edx, dword [0x45aa70]
push 0x459a6c
push 0x1000
push 0x459a70
push edx
call edi
test eax, eax
je 0x412244
lea esp, [esp]
mov eax, dword [0x459a6c]
test eax, eax
jbe 0x412244
push eax
push 0x459a70
mov ecx, 0x4570cc
call fcn.00403160
mov eax, dword [0x45aa70]
push 0x459a6c
push 0x1000
push 0x459a70
push eax
call edi
test eax, eax
jne 0x412210
lea ecx, [esp + 0x2c]
push 0x4570cc
push ecx
call fcn.0040de50
add esp, 8
push 0xffffffffffffffff
push 0
push eax
mov ecx, 0x4570cc
call fcn.004028e0
cmp dword [esp + 0x44], ebx
jb 0x412278
mov edx, dword [esp + 0x30]
push edx
call fcn.00413ce7
add esp, 4
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x44], esp
push eax
call fcn.004033c0
add esp, 4
lea ecx, [esp + 0x48]
push 0x4570cc
push ecx
call fcn.00411e80
add esp, 0x24
push eax
mov ecx, 0x45abf4
call fcn.00411800
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4122d1
mov edx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x30]
push ecx
push edx
push eax
call fcn.004036a0
mov eax, dword [esp + 0x40]
push eax
call fcn.00413ce7
add esp, 0x14
mov esi, dword [0x45abf8]
test esi, esi
je 0x4122f8
mov ecx, dword [0x45abfc]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x412303
call fcn.0042f9f1
mov esi, dword [0x45abf8]
cmp dword [esi + 0x18], ebx
jb 0x41230d
mov esi, dword [esi + 4]
jmp 0x412310
add esi, 4
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, dword [0x45abf8]
test esi, esi
mov edi, eax
je 0x412343
mov ecx, dword [0x45abfc]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
ja 0x41234e
call fcn.0042f9f1
mov esi, dword [0x45abf8]
cmp dword [esi + 0x34], ebx
jb 0x412358
mov esi, dword [esi + 0x20]
jmp 0x41235b
add esi, 0x20
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
mov esi, dword [0x45abf8]
test esi, esi
mov dword [esp + 0x4c], eax
je 0x412393
mov ecx, dword [0x45abfc]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
ja 0x41239e
call fcn.0042f9f1
mov esi, dword [0x45abf8]
cmp dword [esi + 0x50], ebx
jb 0x4123a8
mov esi, dword [esi + 0x3c]
jmp 0x4123ab
add esi, 0x3c
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [0x45abf8]
test esi, esi
mov ebx, eax
mov dword [esp + 0x28], ebx
je 0x4123e3
mov ecx, dword [0x45abfc]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 3
ja 0x4123ee
call fcn.0042f9f1
mov esi, dword [0x45abf8]
cmp dword [esi + 0x6c], 0x10
jb 0x4123f9
mov esi, dword [esi + 0x58]
jmp 0x4123fc
add esi, 0x58
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [0x45abf8]
test esi, esi
mov ebp, eax
je 0x412430
mov ecx, dword [0x45abfc]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 4
ja 0x41243b
call fcn.0042f9f1
mov esi, dword [0x45abf8]
cmp dword [esi + 0x88], 0x10
jb 0x412449
mov esi, dword [esi + 0x74]
jmp 0x41244c
add esi, 0x74
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [0x45abf8]
test esi, esi
mov edi, eax
je 0x412480
mov ecx, dword [0x45abfc]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 5
ja 0x41248b
call fcn.0042f9f1
mov esi, dword [0x45abf8]
cmp dword [esi + 0xa4], 0x10
jb 0x41249c
mov esi, dword [esi + 0x90]
jmp 0x4124a2
add esi, 0x90
push esi
push 1
push 0
call ebp
call edi
xor ebp, ebp
cmp eax, 0xb7
jne 0x4124bc
mov edx, dword [esp + 0x4c]
push ebp
push edx
call ebx
mov esi, dword [0x45abf8]
cmp esi, ebp
je 0x4124e6
mov ecx, dword [0x45abfc]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 6
ja 0x4124f1
call fcn.0042f9f1
mov esi, dword [0x45abf8]
cmp dword [esi + 0xc0], 0x10
jb 0x412502
mov esi, dword [esi + 0xac]
jmp 0x412508
add esi, 0xac
mov eax, dword [0x459a68]
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push esi
push eax
call ebx
mov esi, dword [0x45abf8]
cmp esi, ebp
mov edi, eax
je 0x412543
mov ecx, dword [0x45abfc]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 7
ja 0x41254e
call fcn.0042f9f1
mov esi, dword [0x45abf8]
cmp dword [esi + 0xdc], 0x10
jb 0x41255f
mov esi, dword [esi + 0xc8]
jmp 0x412565
add esi, 0xc8
mov ecx, dword [0x459a68]
push esi
push ecx
call ebx
mov esi, dword [0x45abf8]
cmp esi, ebp
je 0x412599
mov ecx, dword [0x45abfc]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 8
ja 0x4125a4
call fcn.0042f9f1
mov esi, dword [0x45abf8]
cmp dword [esi + 0xf8], 0x10
jb 0x4125b5
mov esi, dword [esi + 0xe4]
jmp 0x4125bb
add esi, 0xe4
mov edx, dword [0x459a68]
push esi
push edx
call ebx
mov esi, dword [0x45abf8]
cmp esi, ebp
mov dword [esp + 0x20], eax
je 0x4125f3
mov ecx, dword [0x45abfc]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 9
ja 0x4125fe
call fcn.0042f9f1
mov esi, dword [0x45abf8]
cmp dword [esi + 0x114], 0x10
jb 0x41260f
mov esi, dword [esi + 0x100]
jmp 0x412615
add esi, 0x100
mov eax, dword [0x459a68]
push esi
push eax
call ebx
mov esi, dword [0x45abf8]
cmp esi, ebp
mov dword [esp + 0x68], eax
je 0x41264c
mov ecx, dword [0x45abfc]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0xa
ja 0x412657
call fcn.0042f9f1
mov esi, dword [0x45abf8]
cmp dword [esi + 0x130], 0x10
jb 0x412668
mov esi, dword [esi + 0x11c]
jmp 0x41266e
add esi, 0x11c
mov ecx, dword [0x459a68]
push esi
push ecx
call ebx
mov esi, dword [0x45abf8]
cmp esi, ebp
mov dword [esp + 0x5c], eax
je 0x4126a6
mov ecx, dword [0x45abfc]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0xb
ja 0x4126b1
call fcn.0042f9f1
mov esi, dword [0x45abf8]
cmp dword [esi + 0x14c], 0x10
jb 0x4126c2
mov esi, dword [esi + 0x138]
jmp 0x4126c8
add esi, 0x138
mov edx, dword [0x459a68]
push esi
push edx
call ebx
lea eax, [esp + 0x150]
push eax
call fcn.004037e0
mov eax, dword [esp + 0x158]
add esp, 4
cmp dword [esp + 0x168], 0x10
jae 0x4126fa
lea eax, [esp + 0x154]
push eax
lea ecx, [esp + 0x54]
call fcn.00410bf0
push ebp
mov esi, 0xf
push 0x448730
lea ecx, [esp + 0x104]
mov dword [esp + 0x68], 0x7530
mov dword [esp + 0x11c], esi
mov dword [esp + 0x118], ebp
mov byte [esp + 0x108], 0
call fcn.00402f60
push 0x448730
lea ecx, [esp + 0x58]
call fcn.00410bf0
lea ecx, [esp + 0xa8]
push ecx
lea edx, [esp + 0x90]
push edx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x48], esp
push 0xffffffffffffffff
mov dword [esp + 0x174], esi
mov dword [esp + 0x170], ebp
mov byte [esp + 0x160], 0
mov dword [esp + 0x158], esi
mov dword [esp + 0x154], ebp
mov byte [esp + 0x144], 0
mov dword [esp + 0x120], esi
mov dword [esp + 0x11c], ebp
mov byte [esp + 0x10c], 0
mov dword [esp + 0xe8], esi
mov dword [esp + 0xe4], ebp
mov byte [esp + 0xd4], 0
mov dword [esp + 0xcc], esi
mov dword [esp + 0xc8], ebp
mov byte [esp + 0xb8], 0
push ebp
lea eax, [esp + 0x17c]
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebp
push eax
mov byte [ecx + 4], 0
call fcn.004028e0
call fcn.00410ff0
mov edx, dword [0x45aa74]
add esp, 0x24
push 4
lea ecx, [esp + 0x64]
push ecx
push 2
push edx
call edi
mov ecx, dword [0x45aa74]
push 4
lea eax, [esp + 0x5c]
push eax
push 0x1f
push ecx
mov dword [esp + 0x68], 0x3100
call edi
cmp dword [esp + 0xa4], 0x10
mov eax, dword [esp + 0x90]
jae 0x412834
lea eax, [esp + 0x90]
mov edx, dword [0x45aa74]
push 1
push 0
push 3
push 0
push 0
push 0x50
push eax
push edx
call dword [esp + 0x40]
mov ecx, dword [0x45abf8]
test ecx, ecx
mov ebp, eax
je 0x41287a
mov edi, dword [0x45abfc]
mov esi, edi
sub esi, ecx
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0xe
ja 0x41288b
call fcn.0042f9f1
mov edi, dword [0x45abfc]
mov ecx, dword [0x45abf8]
mov eax, 0x10
cmp dword [ecx + 0x1a0], eax
jb 0x4128a0
mov esi, dword [ecx + 0x18c]
jmp 0x4128a6
lea esi, [ecx + 0x18c]
cmp dword [esp + 0xc0], eax
mov ebx, dword [esp + 0xac]
jae 0x4128bd
lea ebx, [esp + 0xac]
test ecx, ecx
je 0x4128db
sub edi, ecx
mov eax, 0x92492493
imul edi
add edx, edi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0xd
ja 0x4128e6
call fcn.0042f9f1
mov ecx, dword [0x45abf8]
cmp dword [ecx + 0x184], 0x10
jb 0x4128f7
mov ecx, dword [ecx + 0x170]
jmp 0x4128fd
add ecx, 0x170
push 0
push 0x80080000
push 0
push 0
push esi
push ebx
push ecx
push ebp
call dword [esp + 0x88]
push 0
push 0
push 0
mov esi, eax
push 0
push esi
call dword [esp + 0x70]
push 0
push 0x448730
lea ecx, [esp + 0xe8]
call fcn.00402f60
mov edi, dword [esp + 0x64]
push 0x459a6c
push 0x1000
push 0x459a70
push esi
call edi
test eax, eax
je 0x412981
nop
mov eax, dword [0x459a6c]
test eax, eax
jbe 0x412981
push eax
push 0x459a70
lea ecx, [esp + 0xe8]
call fcn.00403160
push 0x459a6c
push 0x1000
push 0x459a70
push esi
call edi
test eax, eax
jne 0x412950
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x40], esp
push eax
call fcn.004033c0
add esp, 4
lea ecx, [esp + 0xfc]
push ecx
lea edx, [esp + 0x30]
push edx
call fcn.00411e80
mov esi, dword [0x45abf8]
add esp, 0x24
test esi, esi
je 0x4129d2
mov ecx, dword [0x45abfc]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0x13
ja 0x4129dd
call fcn.0042f9f1
mov esi, dword [0x45abf8]
mov ecx, dword [esp + 0x14]
test ecx, ecx
lea edi, [esi + 0x214]
je 0x412a06
mov esi, dword [esp + 0x18]
sub esi, ecx
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x412a0f
call fcn.0042f9f1
mov ecx, dword [esp + 0x14]
push 0xffffffffffffffff
push 0
push edi
call fcn.004028e0
mov esi, dword [0x45abf8]
test esi, esi
je 0x412a43
mov ecx, dword [0x45abfc]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0x14
ja 0x412a4e
call fcn.0042f9f1
mov esi, dword [0x45abf8]
lea edi, [esi + 0x230]
mov esi, dword [esp + 0x14]
test esi, esi
je 0x412a7a
mov ecx, dword [esp + 0x18]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
ja 0x412a83
call fcn.0042f9f1
mov esi, dword [esp + 0x14]
push 0xffffffffffffffff
push 0
push edi
lea ecx, [esi + 0x1c]
call fcn.004028e0
mov esi, dword [0x45abf8]
test esi, esi
je 0x412aba
mov ecx, dword [0x45abfc]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0x15
ja 0x412ac5
call fcn.0042f9f1
mov esi, dword [0x45abf8]
lea edi, [esi + 0x24c]
mov esi, dword [esp + 0x14]
test esi, esi
je 0x412af1
mov ecx, dword [esp + 0x18]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
ja 0x412afa
call fcn.0042f9f1
mov esi, dword [esp + 0x14]
push 0xffffffffffffffff
push 0
push edi
lea ecx, [esi + 0x38]
call fcn.004028e0
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x412b13
xor edi, edi
jmp 0x412b2c
mov ecx, dword [esp + 0x18]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov edi, edx
shr edi, 0x1f
add edi, edx
push edi
call fcn.00413cec
add esp, 4
xor esi, esi
test edi, edi
mov dword [esp + 0x20], eax
jle 0x412b8c
xor ebx, ebx
mov ebp, dword [esp + 0x14]
test ebp, ebp
je 0x412b66
mov ecx, dword [esp + 0x18]
sub ecx, ebp
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x412b6f
call fcn.0042f9f1
mov ebp, dword [esp + 0x14]
lea eax, [ebx + ebp]
push eax
call fcn.00402100
mov ecx, dword [esp + 0x24]
mov byte [esi + ecx], al
add esi, 1
add esp, 4
add ebx, 0x1c
cmp esi, edi
jl 0x412b41
mov edx, dword [esp + 0x20]
push edi
push edx
call fcn.004115e0
mov esi, dword [0x45abf8]
xor edi, edi
add esp, 8
cmp esi, edi
mov ebp, eax
je 0x412bc8
mov ecx, dword [0x45abfc]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0x12
ja 0x412bd3
call fcn.0042f9f1
mov esi, dword [0x45abf8]
cmp dword [esi + 0x210], 0x10
jb 0x412be4
mov esi, dword [esi + 0x1fc]
jmp 0x412bea
add esi, 0x1fc
mov ebx, 0xf
mov eax, esi
mov dword [esp + 0xdc], ebx
mov dword [esp + 0xd8], edi
mov byte [esp + 0xc8], 0
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x412c10
sub eax, edx
push eax
push esi
lea ecx, [esp + 0xcc]
call fcn.00402f60
mov eax, dword [esp + 0xc8]
mov esi, 0x10
cmp dword [esp + 0xdc], esi
jae 0x412c45
lea eax, [esp + 0xc8]
push eax
push ebp
call fcn.004017d0
add esp, 8
call eax
mov eax, dword [esp + 0x4c]
push edi
push eax
call dword [esp + 0x30]
mov ecx, dword [esp + 0x180]
mov edx, dword [esp + 0x6c]
push ecx
push edx
call fcn.00401910
add esp, 8
test eax, eax
jne 0x412e57
cmp dword [esp + 0xdc], esi
jb 0x412c91
mov eax, dword [esp + 0xc8]
push eax
call fcn.00413ce7
add esp, 4
mov eax, dword [esp + 0x14]
cmp eax, edi
mov dword [esp + 0xdc], ebx
mov dword [esp + 0xd8], edi
mov byte [esp + 0xc8], 0
je 0x412cd1
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x14]
push edx
push ecx
push eax
call fcn.004036a0
mov edx, dword [esp + 0x24]
push edx
call fcn.00413ce7
add esp, 0x14
cmp dword [esp + 0xa4], esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
jb 0x412cf6
mov eax, dword [esp + 0x90]
push eax
call fcn.00413ce7
add esp, 4
cmp dword [esp + 0xc0], esi
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa0], edi
mov byte [esp + 0x90], 0
jb 0x412d25
mov ecx, dword [esp + 0xac]
push ecx
call fcn.00413ce7
add esp, 4
cmp dword [esp + 0xf8], esi
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xbc], edi
mov byte [esp + 0xac], 0
jb 0x412d54
mov edx, dword [esp + 0xe4]
push edx
call fcn.00413ce7
add esp, 4
cmp dword [esp + 0x130], esi
mov dword [esp + 0xf8], ebx
mov dword [esp + 0xf4], edi
mov byte [esp + 0xe4], 0
jb 0x412d83
mov eax, dword [esp + 0x11c]
push eax
call fcn.00413ce7
add esp, 4
cmp dword [esp + 0x14c], esi
mov dword [esp + 0x130], ebx
mov dword [esp + 0x12c], edi
mov byte [esp + 0x11c], 0
jb 0x412db2
mov ecx, dword [esp + 0x138]
push ecx
call fcn.00413ce7
add esp, 4
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
mov dword [esp + 0x14c], ebx
mov dword [esp + 0x148], edi
mov byte [esp + 0x138], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x412de8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x114], esi
jb 0x412e01
mov ecx, dword [esp + 0x100]
push ecx
call fcn.00413ce7
add esp, 4
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
mov dword [esp + 0x114], ebx
mov dword [esp + 0x110], edi
mov byte [esp + 0x100], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x412e37
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x168], esi
jb 0x412e50
mov ecx, dword [esp + 0x154]
push ecx
call fcn.00413ce7
add esp, 4
xor eax, eax
jmp 0x41308d
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
push edi
push edi
push edi
lea edx, [esp + 0x7c]
push edx
call esi
test eax, eax
je 0x412eaa
mov ebp, dword [sym.imp.USER32.dll_TranslateAcceleratorA]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x70]
lea eax, [esp + 0x70]
push eax
push ecx
push edx
call ebp
test eax, eax
jne 0x412e9c
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [esp + 0x70]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageA]
push edi
push edi
push edi
lea edx, [esp + 0x7c]
push edx
call esi
test eax, eax
jne 0x412e71
mov ebp, dword [esp + 0x78]
mov esi, 0x10
cmp dword [esp + 0xdc], esi
jb 0x412ecc
mov eax, dword [esp + 0xc8]
push eax
call fcn.00413ce7
add esp, 4
mov eax, dword [esp + 0x14]
cmp eax, edi
mov dword [esp + 0xdc], ebx
mov dword [esp + 0xd8], edi
mov byte [esp + 0xc8], 0
je 0x412f0c
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x14]
push edx
push ecx
push eax
call fcn.004036a0
mov edx, dword [esp + 0x24]
push edx
call fcn.00413ce7
add esp, 0x14
cmp dword [esp + 0xa4], esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
jb 0x412f31
mov eax, dword [esp + 0x90]
push eax
call fcn.00413ce7
add esp, 4
cmp dword [esp + 0xc0], esi
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa0], edi
mov byte [esp + 0x90], 0
jb 0x412f60
mov ecx, dword [esp + 0xac]
push ecx
call fcn.00413ce7
add esp, 4
cmp dword [esp + 0xf8], esi
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xbc], edi
mov byte [esp + 0xac], 0
jb 0x412f8f
mov edx, dword [esp + 0xe4]
push edx
call fcn.00413ce7
add esp, 4
cmp dword [esp + 0x130], esi
mov dword [esp + 0xf8], ebx
mov dword [esp + 0xf4], edi
mov byte [esp + 0xe4], 0
jb 0x412fbe
mov eax, dword [esp + 0x11c]
push eax
call fcn.00413ce7
add esp, 4
cmp dword [esp + 0x14c], esi
mov dword [esp + 0x130], ebx
mov dword [esp + 0x12c], edi
mov byte [esp + 0x11c], 0
jb 0x412fed
mov ecx, dword [esp + 0x138]
push ecx
call fcn.00413ce7
add esp, 4
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
mov dword [esp + 0x14c], ebx
mov dword [esp + 0x148], edi
mov byte [esp + 0x138], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x413023
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x114], esi
jb 0x41303c
mov ecx, dword [esp + 0x100]
push ecx
call fcn.00413ce7
add esp, 4
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
mov dword [esp + 0x114], ebx
mov dword [esp + 0x110], edi
mov byte [esp + 0x100], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x413072
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x168], esi
jb 0x41308b
mov ecx, dword [esp + 0x154]
push ecx
call fcn.00413ce7
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x16c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0042e83e
add esp, 0x160
ret 0x10