Function at 0x4e45dc
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xe
push 0
push 0
dec ecx
jne 0x4e45e5
push ecx
xchg dword [ebp - 4], ecx
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
call fcn.00405a20
lea eax, [ebp - 0xc]
call fcn.00405a20
lea eax, [ebp - 0x44]
mov edx, dword [0x4dc4f8]
call fcn.00405a40
xor eax, eax
push ebp
push 0x4e5010
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 8]
call fcn.00409df4
mov edx, dword [ebp - 0x48]
lea eax, [ebp - 8]
call fcn.004054e4
lea eax, [ebp - 0x44]
push eax
push 0x4e3c00
call sub.user32.dll_EnumWindows
cmp dword [ebp + 8], 0
je 0x4e4848
mov eax, dword [ebp - 0x3c]
call fcn.004063b0
sub eax, 1
jno 0x4e466b
call fcn.00403bec
test eax, eax
jl 0x4e4724
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x3c]
test edx, edx
je 0x4e468d
cmp eax, dword [edx - 4]
jb 0x4e4692
call fcn.00403be4
mov eax, dword [edx + eax*4]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4e4718
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x3c]
test edx, edx
je 0x4e46b2
cmp eax, dword [edx - 4]
jb 0x4e46b7
call fcn.00403be4
mov eax, dword [edx + eax*4]
push eax
call sub.user32.dll_GetWindowThreadProcessId
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp + 8]
jne 0x4e4718
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x3c]
test edx, edx
je 0x4e46db
cmp eax, dword [edx - 4]
jb 0x4e46e0
call fcn.00403be4
mov eax, dword [edx + eax*4]
push eax
call sub.user32.dll_GetWindowRect
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x24]
jge 0x4e4718
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x28]
jge 0x4e4718
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x3c]
test edx, edx
je 0x4e4708
cmp eax, dword [edx - 4]
jb 0x4e470d
call fcn.00403be4
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x10], eax
jmp 0x4e4fda
inc dword [ebp - 0x14]
dec dword [ebp - 0x20]
jne 0x4e467e
mov eax, dword [ebp - 0x3c]
call fcn.004063b0
sub eax, 1
jno 0x4e4736
call fcn.00403bec
test eax, eax
jl 0x4e47ce
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x3c]
test edx, edx
je 0x4e475c
cmp eax, dword [edx - 4]
jb 0x4e4761
call fcn.00403be4
mov eax, dword [edx + eax*4]
push eax
call sub.user32.dll_GetWindowThreadProcessId
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp + 8]
jne 0x4e47c2
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x3c]
test edx, edx
je 0x4e4785
cmp eax, dword [edx - 4]
jb 0x4e478a
call fcn.00403be4
mov eax, dword [edx + eax*4]
push eax
call sub.user32.dll_GetWindowRect
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x24]
jge 0x4e47c2
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x28]
jge 0x4e47c2
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x3c]
test edx, edx
je 0x4e47b2
cmp eax, dword [edx - 4]
jb 0x4e47b7
call fcn.00403be4
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x10], eax
jmp 0x4e4fda
inc dword [ebp - 0x14]
dec dword [ebp - 0x20]
jne 0x4e4749
mov eax, dword [ebp - 0x3c]
call fcn.004063b0
sub eax, 1
jno 0x4e47e0
call fcn.00403bec
test eax, eax
jl 0x4e4fda
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x3c]
test edx, edx
je 0x4e4806
cmp eax, dword [edx - 4]
jb 0x4e480b
call fcn.00403be4
mov eax, dword [edx + eax*4]
push eax
call sub.user32.dll_GetWindowThreadProcessId
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp + 8]
jne 0x4e483b
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x3c]
test edx, edx
je 0x4e482b
cmp eax, dword [edx - 4]
jb 0x4e4830
call fcn.00403be4
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x10], eax
jmp 0x4e4fda
inc dword [ebp - 0x14]
dec dword [ebp - 0x20]
jne 0x4e47f3
jmp 0x4e4fda
mov eax, dword [ebp - 0x3c]
call fcn.004063b0
sub eax, 1
jno 0x4e485a
call fcn.00403bec
test eax, eax
jl 0x4e4975
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x3c]
test edx, edx
je 0x4e487c
cmp eax, dword [edx - 4]
jb 0x4e4881
call fcn.00403be4
mov eax, dword [edx + eax*4]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4e4969
call sub.user32.dll_GetForegroundWindow
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x4e48a6
cmp edx, dword [ecx - 4]
jb 0x4e48ab
call fcn.00403be4
cmp eax, dword [ecx + edx*4]
jne 0x4e4969
mov eax, dword [ebp - 0xc]
xor edx, edx
call fcn.00405790
je 0x4e48e6
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x34]
test edx, edx
je 0x4e48cf
cmp eax, dword [edx - 4]
jb 0x4e48d4
call fcn.00403be4
mov edx, dword [edx + eax*4]
mov eax, dword [ebp - 0xc]
call fcn.0040598c
dec eax
jne 0x4e4969
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x4e48f8
cmp edx, dword [ecx - 4]
jb 0x4e48fd
call fcn.00403be4
mov edx, dword [ecx + edx*4]
call fcn.00405790
je 0x4e494a
lea ecx, [ebp - 0x4c]
mov edx, 0x400000
mov eax, dword [ebp - 8]
call fcn.004ae948
mov eax, dword [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x38]
test edx, edx
je 0x4e492a
cmp eax, dword [edx - 4]
jb 0x4e492f
call fcn.00403be4
mov eax, dword [edx + eax*4]
lea ecx, [ebp - 0x50]
mov edx, 0x400000
call fcn.004ae948
mov edx, dword [ebp - 0x50]
pop eax
call fcn.00405790
jne 0x4e4975
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x3c]
test edx, edx
je 0x4e4959
cmp eax, dword [edx - 4]
jb 0x4e495e
call fcn.00403be4
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x10], eax
jmp 0x4e4fda
inc dword [ebp - 0x14]
dec dword [ebp - 0x20]
jne 0x4e486d
mov eax, dword [ebp - 0x3c]
call fcn.004063b0
sub eax, 1
jno 0x4e4987
call fcn.00403bec
test eax, eax
jl 0x4e4a80
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x3c]
test edx, edx
je 0x4e49a9
cmp eax, dword [edx - 4]
jb 0x4e49ae
call fcn.00403be4
mov eax, dword [edx + eax*4]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4e4a74
mov eax, dword [ebp - 0xc]
xor edx, edx
call fcn.00405790
je 0x4e49f1
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x34]
test edx, edx
je 0x4e49da
cmp eax, dword [edx - 4]
jb 0x4e49df
call fcn.00403be4
mov edx, dword [edx + eax*4]
mov eax, dword [ebp - 0xc]
call fcn.0040598c
dec eax
jne 0x4e4a74
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x4e4a03
cmp edx, dword [ecx - 4]
jb 0x4e4a08
call fcn.00403be4
mov edx, dword [ecx + edx*4]
call fcn.00405790
je 0x4e4a55
lea ecx, [ebp - 0x54]
mov edx, 0x400000
mov eax, dword [ebp - 8]
call fcn.004ae948
mov eax, dword [ebp - 0x54]
push eax
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x38]
test edx, edx
je 0x4e4a35
cmp eax, dword [edx - 4]
jb 0x4e4a3a
call fcn.00403be4
mov eax, dword [edx + eax*4]
lea ecx, [ebp - 0x58]
mov edx, 0x400000
call fcn.004ae948
mov edx, dword [ebp - 0x58]
pop eax
call fcn.00405790
jne 0x4e4a74
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x3c]
test edx, edx
je 0x4e4a64
cmp eax, dword [edx - 4]
jb 0x4e4a69
call fcn.00403be4
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x10], eax
jmp 0x4e4fda
inc dword [ebp - 0x14]
dec dword [ebp - 0x20]
jne 0x4e499a
mov eax, dword [ebp - 0x3c]
call fcn.004063b0
sub eax, 1
jno 0x4e4a92
call fcn.00403bec
test eax, eax
jl 0x4e4bbb
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x3c]
test edx, edx
je 0x4e4ab4
cmp eax, dword [edx - 4]
jb 0x4e4ab9
call fcn.00403be4
mov eax, dword [edx + eax*4]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4e4baf
call sub.user32.dll_GetForegroundWindow
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x4e4ade
cmp edx, dword [ecx - 4]
jb 0x4e4ae3
call fcn.00403be4
cmp eax, dword [ecx + edx*4]
jne 0x4e4baf
mov eax, dword [ebp - 0xc]
xor edx, edx
call fcn.00405790
je 0x4e4b1e
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x34]
test edx, edx
je 0x4e4b07
cmp eax, dword [edx - 4]
jb 0x4e4b0c
call fcn.00403be4
mov edx, dword [edx + eax*4]
mov eax, dword [ebp - 0xc]
call fcn.0040598c
dec eax
jne 0x4e4baf
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x38]
test edx, edx
je 0x4e4b2d
cmp eax, dword [edx - 4]
jb 0x4e4b32
call fcn.00403be4
mov edx, dword [edx + eax*4]
mov eax, dword [ebp - 8]
call fcn.0040598c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4e4b8a
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x38]
test edx, edx
je 0x4e4b55
cmp eax, dword [edx - 4]
jb 0x4e4b5a
call fcn.00403be4
mov eax, dword [edx + eax*4]
lea ecx, [ebp - 0x5c]
mov edx, 0x400000
call fcn.004ae948
mov eax, dword [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x60]
mov edx, 0x400000
mov eax, dword [ebp - 8]
call fcn.004ae948
mov eax, dword [ebp - 0x60]
pop edx
call fcn.0040598c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jle 0x4e4bbb
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x3c]
test edx, edx
je 0x4e4b9f
cmp eax, dword [edx - 4]
jb 0x4e4ba4
call fcn.00403be4
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x10], eax
jmp 0x4e4fda
inc dword [ebp - 0x14]
dec dword [ebp - 0x20]
jne 0x4e4aa5
mov eax, dword [ebp - 0x3c]
call fcn.004063b0
sub eax, 1
jno 0x4e4bcd
call fcn.00403bec
test eax, eax
jl 0x4e4cd4
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x3c]
test edx, edx
je 0x4e4bef
cmp eax, dword [edx - 4]
jb 0x4e4bf4
call fcn.00403be4
mov eax, dword [edx + eax*4]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4e4cc8
mov eax, dword [ebp - 0xc]
xor edx, edx
call fcn.00405790
je 0x4e4c37
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x34]
test edx, edx
je 0x4e4c20
cmp eax, dword [edx - 4]
jb 0x4e4c25
call fcn.00403be4
mov edx, dword [edx + eax*4]
mov eax, dword [ebp - 0xc]
call fcn.0040598c
dec eax
jne 0x4e4cc8
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x38]
test edx, edx
je 0x4e4c46
cmp eax, dword [edx - 4]
jb 0x4e4c4b
call fcn.00403be4
mov edx, dword [edx + eax*4]
mov eax, dword [ebp - 8]
call fcn.0040598c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4e4ca3
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x38]
test edx, edx
je 0x4e4c6e
cmp eax, dword [edx - 4]
jb 0x4e4c73
call fcn.00403be4
mov eax, dword [edx + eax*4]
lea ecx, [ebp - 0x64]
mov edx, 0x400000
call fcn.004ae948
mov eax, dword [ebp - 0x64]
push eax
lea ecx, [ebp - 0x68]
mov edx, 0x400000
mov eax, dword [ebp - 8]
call fcn.004ae948
mov eax, dword [ebp - 0x68]
pop edx
call fcn.0040598c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jle 0x4e4cc8
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x3c]
test edx, edx
je 0x4e4cb8
cmp eax, dword [edx - 4]
jb 0x4e4cbd
call fcn.00403be4
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x10], eax
jmp 0x4e4fda
inc dword [ebp - 0x14]
dec dword [ebp - 0x20]
jne 0x4e4be0
mov eax, dword [ebp - 0x3c]
call fcn.004063b0
sub eax, 1
jno 0x4e4ce6
call fcn.00403bec
test eax, eax
jl 0x4e4dba
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0xc]
xor edx, edx
call fcn.00405790
je 0x4e4d2b
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x34]
test edx, edx
je 0x4e4d14
cmp eax, dword [edx - 4]
jb 0x4e4d19
call fcn.00403be4
mov edx, dword [edx + eax*4]
mov eax, dword [ebp - 0xc]
call fcn.0040598c
dec eax
jne 0x4e4dae
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x4e4d3d
cmp edx, dword [ecx - 4]
jb 0x4e4d42
call fcn.00403be4
mov edx, dword [ecx + edx*4]
call fcn.00405790
je 0x4e4d8f
lea ecx, [ebp - 0x6c]
mov edx, 0x400000
mov eax, dword [ebp - 8]
call fcn.004ae948
mov eax, dword [ebp - 0x6c]
push eax
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x38]
test edx, edx
je 0x4e4d6f
cmp eax, dword [edx - 4]
jb 0x4e4d74
call fcn.00403be4
mov eax, dword [edx + eax*4]
lea ecx, [ebp - 0x70]
mov edx, 0x400000
call fcn.004ae948
mov edx, dword [ebp - 0x70]
pop eax
call fcn.00405790
jne 0x4e4dae
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x3c]
test edx, edx
je 0x4e4d9e
cmp eax, dword [edx - 4]
jb 0x4e4da3
call fcn.00403be4
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x10], eax
jmp 0x4e4fda
inc dword [ebp - 0x14]
dec dword [ebp - 0x20]
jne 0x4e4cf9
mov eax, dword [ebp - 0x3c]
call fcn.004063b0
sub eax, 1
jno 0x4e4dcc
call fcn.00403bec
test eax, eax
jl 0x4e4eae
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0xc]
xor edx, edx
call fcn.00405790
je 0x4e4e11
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x34]
test edx, edx
je 0x4e4dfa
cmp eax, dword [edx - 4]
jb 0x4e4dff
call fcn.00403be4
mov edx, dword [edx + eax*4]
mov eax, dword [ebp - 0xc]
call fcn.0040598c
dec eax
jne 0x4e4ea2
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x38]
test edx, edx
je 0x4e4e20
cmp eax, dword [edx - 4]
jb 0x4e4e25
call fcn.00403be4
mov edx, dword [edx + eax*4]
mov eax, dword [ebp - 8]
call fcn.0040598c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4e4e7d
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x38]
test edx, edx
je 0x4e4e48
cmp eax, dword [edx - 4]
jb 0x4e4e4d
call fcn.00403be4
mov eax, dword [edx + eax*4]
lea ecx, [ebp - 0x74]
mov edx, 0x400000
call fcn.004ae948
mov eax, dword [ebp - 0x74]
push eax
lea ecx, [ebp - 0x78]
mov edx, 0x400000
mov eax, dword [ebp - 8]
call fcn.004ae948
mov eax, dword [ebp - 0x78]
pop edx
call fcn.0040598c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jle 0x4e4ea2
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x3c]
test edx, edx
je 0x4e4e92
cmp eax, dword [edx - 4]
jb 0x4e4e97
call fcn.00403be4
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x10], eax
jmp 0x4e4fda
inc dword [ebp - 0x14]
dec dword [ebp - 0x20]
jne 0x4e4ddf
mov eax, dword [ebp - 8]
mov edx, 0x4e5028
call fcn.00405790
jne 0x4e4f5b
mov eax, dword [ebp - 0xc]
xor edx, edx
call fcn.00405790
je 0x4e4f5b
mov eax, dword [ebp - 0x3c]
call fcn.004063b0
sub eax, 1
jno 0x4e4ee3
call fcn.00403bec
test eax, eax
jl 0x4e4f5b
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x38]
test edx, edx
je 0x4e4f01
cmp eax, dword [edx - 4]
jb 0x4e4f06
call fcn.00403be4
mov eax, dword [edx + eax*4]
xor edx, edx
call fcn.00405790
jne 0x4e4f53
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x34]
test edx, edx
je 0x4e4f21
cmp eax, dword [edx - 4]
jb 0x4e4f26
call fcn.00403be4
mov edx, dword [edx + eax*4]
mov eax, dword [ebp - 0xc]
call fcn.0040598c
dec eax
jne 0x4e4f53
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x3c]
test edx, edx
je 0x4e4f43
cmp eax, dword [edx - 4]
jb 0x4e4f48
call fcn.00403be4
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x10], eax
jmp 0x4e4fda
inc dword [ebp - 0x14]
dec dword [ebp - 0x20]
jne 0x4e4ef2
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.00405790
jne 0x4e4fda
mov eax, dword [ebp - 0xc]
xor edx, edx
call fcn.00405790
je 0x4e4fda
mov eax, dword [ebp - 0x3c]
call fcn.004063b0
sub eax, 1
jno 0x4e4f85
call fcn.00403bec
test eax, eax
jl 0x4e4fda
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x34]
test edx, edx
je 0x4e4fa3
cmp eax, dword [edx - 4]
jb 0x4e4fa8
call fcn.00403be4
mov edx, dword [edx + eax*4]
mov eax, dword [ebp - 0xc]
call fcn.0040598c
dec eax
jne 0x4e4fd2
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x3c]
test edx, edx
je 0x4e4fc5
cmp eax, dword [edx - 4]
jb 0x4e4fca
call fcn.00403be4
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x10], eax
jmp 0x4e4fda
inc dword [ebp - 0x14]
dec dword [ebp - 0x20]
jne 0x4e4f94
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e5017
lea eax, [ebp - 0x78]
mov edx, 0xd
call fcn.00405498
lea eax, [ebp - 0x44]
mov edx, dword [0x4dc4f8]
call fcn.00405b10
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00405498
ret