Function at 0x4580db
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2cc
push esi
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x458a05
mov dword [ebp - 0x34], 0x862f
mov dword [ebp - 0x88], 0x5300ce3
mov dword [ebp - 0x204], 0xe26b5cfd
mov dword [ebp - 0x1e0], 0x5c7e4ddb
mov dword [ebp - 0x1b0], 0x255bb5fb
mov dword [ebp - 0x260], 0x1b09c821
mov dword [ebp - 0x27c], 0x2da3bb1d
mov dword [ebp - 0x25c], 1
mov dword [ebp - 0x1b4], 0xfffffffb
push 3
lea ecx, [ebp - 0x258]
call fcn.004133eb
mov dword [ebp - 0x1f4], 0xfffffffa
mov dword [ebp - 0x60], 0
jmp 0x45816f
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 3
jge 0x45818b
push dword [ebp - 0x60]
lea ecx, [ebp - 0x258]
call fcn.004134d9
mov dword [eax], 0xfffffff9
jmp 0x458168
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x34], 0
jmp 0x4581a2
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x3a
jg 0x45850e
mov dword [ebp - 0x3c], 0x70ade21
push 3
lea ecx, [ebp - 0xc4]
call fcn.004133eb
push 1
lea ecx, [ebp - 0x210]
call fcn.004133eb
mov dword [ebp - 0x90], 0xe219
mov dword [ebp - 0x12c], 0xc710
mov dword [ebp - 0x24], 0
jmp 0x4581f1
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 3
jge 0x45820d
push dword [ebp - 0x24]
lea ecx, [ebp - 0xc4]
call fcn.004134d9
mov dword [eax], 0x367f
jmp 0x4581ea
mov dword [ebp - 0x24], 0
jmp 0x45821d
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 1
jge 0x458239
push dword [ebp - 0x24]
lea ecx, [ebp - 0x210]
call fcn.004134d9
mov dword [eax], 0x21b78cd9
jmp 0x458216
mov dword [ebp - 0x3c], 0xfffffff9
jmp 0x458249
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 5
jne 0x4583a7
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x18], 2
jmp 0x45826a
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x4583a2
mov byte [ebp - 0x2a], 0
movzx eax, byte [ebp - 0x2a]
test eax, eax
je 0x45829b
push 0x167e
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x268], eax
mov eax, 0x50bb
test eax, eax
jl 0x4582b9
mov dword [ebp - 0x1a0], 1
jmp 0x4582c0
and dword [ebp - 0x1a0], 0
push dword [ebp - 0x18]
lea ecx, [ebp - 0xc4]
call fcn.004134d9
push 2
lea ecx, [ebp - 0xc4]
call fcn.004134d9
mov esi, dword [eax]
neg esi
push dword [ebp - 0x18]
lea ecx, [ebp - 0xc4]
call fcn.004134d9
sub esi, dword [eax]
jne 0x45830c
push 1
lea ecx, [ebp - 0xc4]
call fcn.004134d9
cmp dword [eax], 0
jne 0x45830c
and dword [ebp - 0xd0], 0
jmp 0x458316
mov dword [ebp - 0xd0], 1
push dword [ebp - 0x18]
lea ecx, [ebp - 0xc4]
call fcn.004134d9
mov eax, dword [eax]
add eax, dword [ebp - 0xd0]
cmp eax, 0xc75d
jge 0x45833f
mov dword [ebp - 0x200], 1
jmp 0x458346
and dword [ebp - 0x200], 0
cmp dword [ebp - 0x88], 0
je 0x45836b
push dword [ebp - 0x18]
lea ecx, [ebp - 0xc4]
call fcn.004134d9
cmp dword [eax], 0
jne 0x45836b
and dword [ebp - 0xa8], 0
jmp 0x458375
mov dword [ebp - 0xa8], 1
cmp dword [ebp - 0xa8], 0xfffffffd
jge 0x45838a
mov dword [ebp - 0x180], 1
jmp 0x458391
and dword [ebp - 0x180], 0
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x204], eax
jmp 0x458263
jmp 0x458242
mov eax, dword [ebp - 0x90]
dec eax
mov dword [ebp - 0x90], eax
je 0x4583ec
cmp dword [ebp - 0x1f4], 3
jg 0x4583cb
mov dword [ebp - 0xb0], 1
jmp 0x4583d2
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0x1b4]
cmp dword [ebp - 0xb0], eax
jl 0x4583ec
mov dword [ebp - 0x188], 1
jmp 0x4583f3
and dword [ebp - 0x188], 0
mov eax, dword [ebp - 0x1b0]
add eax, dword [ebp - 0x188]
cmp eax, dword [ebp - 0x3c]
jg 0x458410
mov dword [ebp - 0x190], 1
jmp 0x458417
and dword [ebp - 0x190], 0
mov eax, dword [ebp - 0x88]
cmp eax, dword [ebp - 0x190]
jl 0x458431
mov dword [ebp - 0xb8], 1
jmp 0x458438
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 1
jne 0x458459
mov dword [ebp - 0xcc], 1
jmp 0x458460
and dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0x88]
cmp eax, dword [ebp - 0xcc]
jne 0x45847a
mov dword [ebp - 0x184], 1
jmp 0x458481
and dword [ebp - 0x184], 0
mov eax, dword [ebp - 0x1e0]
cmp dword [ebp - 0x184], eax
jl 0x45849b
mov dword [ebp - 0xd4], 1
jmp 0x4584a2
and dword [ebp - 0xd4], 0
push 0
lea ecx, [ebp - 0x210]
call fcn.004134d9
mov ecx, dword [ebp - 0xd4]
sub ecx, dword [eax]
cmp ecx, 1
jge 0x4584c8
mov dword [ebp - 0x134], 1
jmp 0x4584cf
and dword [ebp - 0x134], 0
push 0
lea ecx, [ebp - 0x210]
call fcn.004134d9
mov esi, dword [ebp - 0x134]
add esi, dword [eax]
push 0
lea ecx, [ebp - 0x258]
call fcn.004134d9
mov dword [eax], esi
lea ecx, [ebp - 0x210]
call fcn.004134bd
lea ecx, [ebp - 0xc4]
call fcn.004134bd
jmp 0x45819b
lea ecx, [ebp - 0x258]
call fcn.004134bd
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1d8], eax
mov dword [ebp - 8], 0x90ac204e
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x1d0], 0x584e
mov dword [ebp - 0x1f0], 0x3f04e266
mov dword [ebp - 8], 0x13
jmp 0x458554
mov eax, dword [ebp - 8]
dec eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffe9
jg 0x458700
mov dword [ebp - 0x44], 0xf390197f
mov dword [ebp - 0x6c], 0
jmp 0x458575
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 1
jge 0x45858b
mov eax, dword [ebp - 0x6c]
mov dword [ebp + eax*4 - 0x8c], 0xffffffff
jmp 0x45856e
mov dword [ebp - 0x44], 0
jmp 0x45859b
mov eax, dword [ebp - 0x44]
dec eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jl 0x4586fb
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x1f8], 1
mov dword [ebp - 0x20], 0
jmp 0x4585c6
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jg 0x4586f6
mov dword [ebp - 0x1b8], 0x2b90f998
mov byte [ebp - 0x2e], 0
movzx eax, byte [ebp - 0x2e]
test eax, eax
je 0x458602
push 0x1be
push 0x1d1f
push 0x521
push 0xa39
push 0
call dword [sym.imp.USER32.dll_CheckMenuRadioItem]
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x20], eax
jne 0x458616
mov dword [ebp - 0xdc], 1
jmp 0x45861d
and dword [ebp - 0xdc], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp + eax*4 - 0x8c], 0x1e01
jle 0x458639
mov dword [ebp - 0x164], 1
jmp 0x458640
and dword [ebp - 0x164], 0
mov eax, dword [ebp - 0xdc]
cmp eax, dword [ebp - 0x164]
jl 0x45865a
mov dword [ebp - 0xe4], 1
jmp 0x458661
and dword [ebp - 0xe4], 0
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x1b8], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x270], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 8]
cmp dword [ebp + eax*4 - 0x8c], ecx
jg 0x458691
mov dword [ebp - 0x13c], 1
jmp 0x458698
and dword [ebp - 0x13c], 0
mov eax, dword [ebp - 0x13c]
add eax, 0x8f01
cmp eax, 0xfffffff7
jl 0x4586b4
mov dword [ebp - 0xec], 1
jmp 0x4586bb
and dword [ebp - 0xec], 0
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp + eax*4 - 0x8c]
add eax, dword [ebp - 0xec]
cmp eax, 0xdd2cc910
jne 0x4586de
mov dword [ebp - 0x17c], 1
jmp 0x4586e5
and dword [ebp - 0x17c], 0
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0x1f8], eax
jmp 0x4585bf
jmp 0x458594
jmp 0x45854d
cmp dword [ebp - 8], 0
jne 0x458722
cmp dword [ebp - 8], 0
jne 0x458722
mov eax, 0x1ac8
sub eax, dword [ebp - 8]
mov dword [ebp - 8], eax
jne 0x458722
and dword [ebp - 0x1c0], 0
jmp 0x45872c
mov dword [ebp - 0x1c0], 1
cmp dword [ebp - 8], 0
jne 0x45873e
mov dword [ebp - 0xf4], 1
jmp 0x458745
and dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0xf4], eax
jne 0x45875c
mov dword [ebp - 0x1e8], 1
jmp 0x458763
and dword [ebp - 0x1e8], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x278], eax
mov eax, 0xc37f20ba
test eax, eax
jne 0x458784
cmp dword [ebp - 0x10], 0
jne 0x458784
and dword [ebp - 0x144], 0
jmp 0x45878e
mov dword [ebp - 0x144], 1
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x144], eax
jle 0x4587ac
push 0xfffffffffffffffc
pop eax
test eax, eax
je 0x4587ac
mov dword [ebp - 0xfc], 1
jmp 0x4587b3
and dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0xfc], eax
jg 0x4587ca
mov dword [ebp - 0x1c8], 1
jmp 0x4587d1
and dword [ebp - 0x1c8], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x280], eax
xor eax, eax
inc eax
je 0x4587f1
cmp dword [ebp - 8], 0
je 0x4587f1
mov dword [ebp - 0x16c], 1
jmp 0x4587f8
and dword [ebp - 0x16c], 0
cmp dword [ebp - 0x16c], 0xb218
jl 0x458810
mov dword [ebp - 0x104], 1
jmp 0x458817
and dword [ebp - 0x104], 0
cmp dword [ebp - 0x104], 0xfffffffa
jle 0x45882c
mov dword [ebp - 0x14c], 1
jmp 0x458833
and dword [ebp - 0x14c], 0
cmp dword [ebp - 0x14c], 0xfffffffe
jge 0x458848
mov dword [ebp - 0x10c], 1
jmp 0x45884f
and dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x10c], eax
jl 0x458866
mov dword [ebp - 0x1fc], 1
jmp 0x45886d
and dword [ebp - 0x1fc], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 8], eax
je 0x458881
mov dword [ebp - 0x18c], 1
jmp 0x458888
and dword [ebp - 0x18c], 0
mov eax, dword [ebp - 0x1d0]
cmp dword [ebp - 0x18c], eax
jg 0x4588a2
mov dword [ebp - 0x114], 1
jmp 0x4588a9
and dword [ebp - 0x114], 0
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1f0], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1a8], eax
mov eax, dword [ebp - 0x1d8]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x1a8]
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x240], 9
mov dword [ebp - 0x23c], 9
mov dword [ebp - 0x238], 9
mov dword [ebp - 0x234], 9
lea ecx, [ebp - 0x95]
call fcn.004134e8
push eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0x2b0]
call fcn.004134eb
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x290]
call fcn.00413497
mov dword [ebp - 0x38], 0xffffffff
mov dword [ebp - 0x1ac], 1
push 3
lea ecx, [ebp - 0x24c]
call fcn.004133eb
mov dword [ebp - 0x5c], 0
jmp 0x458967
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 3
jge 0x458983
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x24c]
call fcn.004134d9
mov dword [eax], 0xfffffff6
jmp 0x458960
mov dword [ebp - 0x38], 3
jmp 0x458993
mov eax, dword [ebp - 0x38]
dec eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jl 0x4589be
push dword [ebp - 0x38]
lea ecx, [ebp - 0x290]
call fcn.004134d9
mov esi, dword [ebp - 0x1ac]
push 0
lea ecx, [ebp - 0x24c]
call fcn.004134d9
mov dword [eax], esi
jmp 0x45898c
lea ecx, [ebp - 0x24c]
call fcn.004134bd
lea ecx, [ebp - 0x290]
call fcn.004134bd
mov eax, dword [ebp - 0x154]
push dword [eax]
mov ecx, dword [ebp - 0x11c]
call fcn.004134d9
mov esi, eax
mov eax, dword [ebp - 0x154]
push dword [eax]
mov ecx, dword [ebp - 0x11c]
call fcn.004134d9
mov ecx, dword [esi]
mov dword [eax], ecx
jmp 0x45928e
mov dword [ebp - 0x14], 0x5bf2d3f5
mov dword [ebp - 0x7c], 0
jmp 0x458a1c
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 2
jge 0x458a32
mov eax, dword [ebp - 0x7c]
mov dword [ebp + eax*4 - 0x218], 0x76eea530
jmp 0x458a15
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x14], eax
jne 0x458a46
mov dword [ebp - 0x174], 1
jmp 0x458a4d
and dword [ebp - 0x174], 0
mov eax, dword [ebp - 0x174]
inc eax
mov dword [ebp - 0x124], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x124]
mov dword [ebp + eax - 0x218], ecx
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x124], eax
jg 0x458a84
mov dword [ebp - 0x15c], 1
jmp 0x458a8b
and dword [ebp - 0x15c], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x15c], eax
jge 0x458aa2
mov dword [ebp - 0xb4], 1
jmp 0x458aa9
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0xb4]
sub eax, 0x1fad
cmp eax, dword [ebp - 0x14]
jne 0x458ac5
mov dword [ebp - 0xc8], 1
jmp 0x458acc
and dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0xc8]
sub eax, 0xcb55
je 0x458af5
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x218], 0
je 0x458af5
mov dword [ebp - 0xa0], 1
jmp 0x458afc
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0xa0], eax
jge 0x458c3e
mov dword [ebp - 0x22c], 0xfffffff8
mov dword [ebp - 0x228], 0xfffffff8
mov dword [ebp - 0x224], 0xfffffff8
mov dword [ebp - 0x220], 0xfffffff8
lea ecx, [ebp - 0x81]
call fcn.004134e8
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x2b8]
call fcn.004134eb
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x2a0]
call fcn.00413497
mov dword [ebp - 0x14], 0
jmp 0x458b78
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jne 0x458c31
mov dword [ebp - 0x64], 0x6eab3cf8
mov dword [ebp - 0x64], 1
jmp 0x458b99
mov eax, dword [ebp - 0x64]
dec eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
jl 0x458c2c
mov dword [ebp - 0xe8], 0x243e5ec3
mov dword [ebp - 0x74], 0
jmp 0x458bbd
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 1
jge 0x458bd3
mov eax, dword [ebp - 0x74]
mov dword [ebp + eax*4 - 0xe0], 0xfffffff8
jmp 0x458bb6
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xe0], 0x7128
jle 0x458bf2
mov dword [ebp - 0xd8], 1
jmp 0x458bf9
and dword [ebp - 0xd8], 0
push 1
lea ecx, [ebp - 0x2a0]
call fcn.004134d9
mov eax, dword [eax]
add eax, dword [ebp - 0xd8]
mov dword [ebp - 0xe8], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xe0]
mov dword [ebp - 0xe8], eax
jmp 0x458b92
jmp 0x458b71
lea ecx, [ebp - 0x2a0]
call fcn.004134bd
jmp 0x458c54
mov byte [ebp - 0x2c], 0
movzx eax, byte [ebp - 0x2c]
test eax, eax
je 0x458c54
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov byte [ebp - 0x2b], 0
movzx eax, byte [ebp - 0x2b]
test eax, eax
je 0x458c6e
push 0
push 0
push 0
push 0
call dword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1a4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1dc], eax
mov dword [ebp - 0x48], 0xfffffff9
mov dword [ebp - 0xf0], 0x1b5f7a0d
mov dword [ebp - 0x50], 0
jmp 0x458ca1
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 3
jge 0x458cb7
mov eax, dword [ebp - 0x50]
mov dword [ebp + eax*4 - 0x2cc], 0x5c96dd1e
jmp 0x458c9a
mov dword [ebp - 0x48], 0
jmp 0x458cc7
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 2
jg 0x458d0c
mov dword [ebp - 0x2a8], 1
mov dword [ebp - 0x58], 0
jmp 0x458ce7
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 2
jge 0x458cfd
mov eax, dword [ebp - 0x58]
mov dword [ebp + eax*4 - 0x2c0], 7
jmp 0x458ce0
mov eax, dword [ebp - 0xf0]
inc eax
mov dword [ebp - 0xf0], eax
jmp 0x458cc0
mov eax, dword [ebp - 0x1a4]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x70], 0xa860
mov dword [ebp - 0x78], 5
push 4
lea ecx, [ebp - 0x19c]
call fcn.004133eb
mov dword [ebp - 0x1bc], 0xfaab39e
mov dword [ebp - 0x108], 1
mov dword [ebp - 0x68], 0x34a938f7
mov dword [ebp - 0x1d4], 0x8bee6da
mov dword [ebp - 0x4c], 0
jmp 0x458d65
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 4
jge 0x458d81
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x19c]
call fcn.004134d9
mov dword [eax], 0xaab72b21
jmp 0x458d5e
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x78], 0x85c9e53
push 2
lea ecx, [ebp - 0x19c]
call fcn.004134d9
mov ecx, dword [ebp - 0x78]
cmp dword [eax], ecx
jl 0x458dae
mov dword [ebp - 0x110], 1
jmp 0x458db5
and dword [ebp - 0x110], 0
push 2
lea ecx, [ebp - 0x19c]
call fcn.004134d9
cmp dword [eax], 0xd8bc
jg 0x458df1
cmp dword [ebp - 0x1bc], 0
je 0x458df1
push 2
lea ecx, [ebp - 0x19c]
call fcn.004134d9
cmp dword [eax], 0
je 0x458df1
mov dword [ebp - 0xf8], 1
jmp 0x458df8
and dword [ebp - 0xf8], 0
push 3
lea ecx, [ebp - 0x19c]
call fcn.004134d9
mov ecx, dword [ebp - 0xf8]
cmp ecx, dword [eax]
jle 0x458e1b
mov dword [ebp - 0x100], 1
jmp 0x458e22
and dword [ebp - 0x100], 0
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x294], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x264], eax
mov dword [ebp - 0x68], 0xdf860956
cmp dword [ebp - 0x68], 0
je 0x458e62
cmp dword [ebp - 0x68], 0
je 0x458e62
mov dword [ebp - 0x1c4], 1
jmp 0x458e69
and dword [ebp - 0x1c4], 0
push 2
lea ecx, [ebp - 0x19c]
call fcn.004134d9
cmp dword [ebp - 0x68], 0xfffffffa
je 0x458e8c
push 7
pop eax
test eax, eax
jne 0x458e8c
and dword [ebp - 0x118], 0
jmp 0x458e96
mov dword [ebp - 0x118], 1
mov eax, dword [ebp - 0x110]
imul eax, dword [ebp - 0x118]
cmp eax, dword [ebp - 0x70]
je 0x458eb4
mov dword [ebp - 0x1cc], 1
jmp 0x458ebb
and dword [ebp - 0x1cc], 0
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x284], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x1d4], eax
lea ecx, [ebp - 0x19c]
call fcn.004134bd
mov eax, dword [ebp - 0x1dc]
mov dword [ebp - 0x1ec], eax
mov dword [ebp - 4], 0x9ae77ab3
mov dword [ebp - 0xc], 0x11f3813b
mov dword [ebp - 0x28], 0xea4c5706
mov dword [ebp - 0x80], 0
jmp 0x458f09
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 1
jge 0x458f1c
mov eax, dword [ebp - 0x80]
mov dword [ebp + eax*4 - 0x1c], 0x80c3414b
jmp 0x458f02
mov eax, dword [ebp - 4]
mov dword [ebp - 4], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1c]
mov dword [ebp - 0x120], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x120]
mov dword [ebp + eax - 0x1c], ecx
cmp dword [ebp - 0x120], 0
je 0x458f60
mov eax, 0xa124
test eax, eax
je 0x458f60
mov dword [ebp - 0x128], 1
jmp 0x458f67
and dword [ebp - 0x128], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x128]
jl 0x458fea
cmp dword [ebp - 4], 0
je 0x458f8a
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x1c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1c]
sub eax, 0x39e0
cmp eax, 1
jne 0x458faa
mov dword [ebp - 0x130], 1
jmp 0x458fb1
and dword [ebp - 0x130], 0
cmp dword [ebp - 0x130], 4
jle 0x458fc6
mov dword [ebp - 0x138], 1
jmp 0x458fcd
and dword [ebp - 0x138], 0
mov eax, dword [ebp - 4]
imul eax, dword [ebp - 0x138]
cmp eax, 0xae974ca7
jb 0x458fea
mov dword [ebp - 0x140], 1
jmp 0x458ff1
and dword [ebp - 0x140], 0
cmp dword [ebp - 0x140], 6
jb 0x459009
cmp dword [ebp - 4], 0
jne 0x459009
and dword [ebp - 0x148], 0
jmp 0x459013
mov dword [ebp - 0x148], 1
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x28]
jg 0x459033
mov dword [ebp - 0x150], 1
jmp 0x45903a
and dword [ebp - 0x150], 0
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x150], eax
jg 0x459051
mov dword [ebp - 0x158], 1
jmp 0x459058
and dword [ebp - 0x158], 0
cmp dword [ebp - 0x158], 7
jae 0x45906d
mov dword [ebp - 0x160], 1
jmp 0x459074
and dword [ebp - 0x160], 0
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x160], eax
je 0x45908b
mov dword [ebp - 0x168], 1
jmp 0x459092
and dword [ebp - 0x168], 0
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x168], eax
jge 0x4591be
mov dword [ebp - 0x170], 0xbf5b
mov dword [ebp - 0x9c], 1
mov dword [ebp - 4], 3
jmp 0x4590c5
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 7
je 0x4591b9
mov dword [ebp - 0x94], 0xffffffff
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x26c], eax
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x2a4], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1c]
cmp dword [ebp - 0x9c], eax
jg 0x459115
cmp dword [ebp - 0x94], 0
je 0x459115
mov dword [ebp - 0x178], 1
jmp 0x45911c
and dword [ebp - 0x178], 0
mov eax, dword [ebp - 0x170]
add eax, dword [ebp - 0x178]
cmp eax, dword [ebp - 0x9c]
jl 0x45913c
mov dword [ebp - 0x1e4], 1
jmp 0x459143
and dword [ebp - 0x1e4], 0
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x274], eax
mov eax, dword [ebp - 0x94]
cmp dword [ebp - 0x9c], eax
jne 0x459169
mov dword [ebp - 0xa4], 1
jmp 0x459170
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0xa4]
jge 0x459187
mov dword [ebp - 0xac], 1
jmp 0x45918e
and dword [ebp - 0xac], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xac]
mov dword [ebp + eax - 0x1c], ecx
mov byte [ebp - 0x29], 0
movzx eax, byte [ebp - 0x29]
test eax, eax
je 0x4591b4
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
jmp 0x4590be
jmp 0x459258
mov dword [ebp - 0x28], 0
jmp 0x4591ce
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jg 0x459258
mov byte [ebp - 0x2d], 0
movzx eax, byte [ebp - 0x2d]
test eax, eax
je 0x4591ea
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [ebp - 0xc], 0
jmp 0x4591fa
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jg 0x459253
mov dword [ebp - 4], 0
jmp 0x459210
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jg 0x459251
mov dword [ebp - 0x54], 0xffffffff
mov dword [ebp - 0x54], 0
jmp 0x45922d
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jg 0x459243
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + eax*4 - 0x1c]
mov dword [ebp + ecx*4 - 0x1c], eax
jmp 0x459226
mov eax, dword [ebp - 0xc]
cmp dword [ebp + eax*4 - 0x1c], 0
je 0x45924f
jmp 0x459209
jmp 0x459209
jmp 0x4591f3
jmp 0x4591c7
mov eax, dword [ebp - 0x40]
mov dword [eax], 0
jmp 0x45926e
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x40]
mov dword [ecx], eax
mov eax, dword [ebp - 0x40]
cmp dword [eax], 2
jge 0x45928e
mov eax, dword [ebp - 0x40]
push dword [eax]
mov ecx, dword [ebp - 0x1ec]
call fcn.004134d9
mov dword [eax], 0xa5f27a41
jmp 0x459263
pop esi
mov esp, ebp
pop ebp
ret