Function at 0x4e24e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x51cf83
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb84
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor edi, edi
mov eax, dword [esi + 0x74]
xor ebx, ebx
cmp eax, edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], ebx
jle 0x4e2f95
jmp 0x4e2520
mov esi, dword [esp + 0x1c]
xor edi, edi
xor eax, eax
mov dword [esp + 0x34], 0x522cf0
mov dword [esp + 0x38], eax
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], edi
mov ecx, dword [esi + 0x4c]
xor ebp, ebp
cmp ecx, edi
mov dword [esp + 0xb9c], edi
jle 0x4e25b4
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0xba4]
push edx
mov ecx, dword [eax + 0x48]
mov edi, dword [ecx + ebp*4]
mov ecx, edi
call fcn.004e0ae0
test al, al
je 0x4e259e
push ebx
mov ecx, edi
call fcn.004dfd30
mov esi, dword [eax + 8]
dec esi
js 0x4e259e
push ebx
mov ecx, edi
call fcn.004dfd30
mov eax, dword [eax + 4]
mov ecx, dword [eax + esi*4]
lea eax, [eax + esi*4]
test ecx, ecx
jne 0x4e258f
dec esi
jns 0x4e2575
jmp 0x4e259e
mov ecx, dword [esp + 0x3c]
push edi
push ecx
lea ecx, [esp + 0x3c]
call fcn.00431490
mov edx, dword [esp + 0x1c]
inc ebp
cmp ebp, dword [edx + 0x4c]
jl 0x4e254a
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x4e25ec
mov eax, dword [esp + 0x38]
mov dword [esp + 0x34], 0x522cf0
test eax, eax
mov dword [esp + 0xb9c], 1
je 0x4e25d4
push eax
call fcn.0050b204
add esp, 4
mov dword [esp + 0xb9c], 0xffffffff
mov dword [esp + 0x34], 0x520384
jmp 0x4e2f7f
push fcn.0050b22e
push fcn.0050b234
push 0x28
lea eax, [esp + 0x1a0]
push 4
push eax
call fcn.0050c29d
mov edx, dword [esp + 0xba8]
lea eax, [ebx + ebx*2]
push fcn.0042f690
push 0x460d10
lea ecx, [eax + eax*4]
push 0x28
push 0x3c
mov byte [esp + 0xbac], 2
lea eax, [edx + ecx*4]
lea ecx, [esp + 0x244]
push ecx
mov dword [esp + 0x3c], eax
call fcn.0050c29d
lea edx, [esp + 0x25c]
mov byte [esp + 0xb9c], 3
mov dword [esp + 0x18], 0
mov dword [esp + 0x30], edx
mov eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
mov edi, dword [esp + 0x30]
mov dword [esp + 0x10], 0
mov ecx, dword [eax + 0x70]
push 0xffffffffffffffff
push 0
mov edx, dword [ecx + ebp*4]
mov ecx, edi
mov esi, dword [edx + 0x1c]
call fcn.004049d0
push 0xffffffffffffffff
push 0
lea ecx, [edi - 0x28]
call fcn.0050b2ac
push 0xffffffffffffffff
push 0
lea ecx, [edi - 0x14]
call fcn.0050b2ac
lea ecx, [esp + 0xe0]
call fcn.00403d40
lea eax, [esp + 0x10]
push esi
push eax
push 0
lea ecx, [esp + 0xec]
mov byte [esp + 0xba8], 4
call fcn.00404740
lea ecx, [esp + 0xe0]
push 1
push ecx
push 0
mov ecx, edi
call fcn.00404070
lea ecx, [esp + 0xe0]
mov byte [esp + 0xb9c], 3
call fcn.00403d60
lea ecx, [esp + 0x4c]
call fcn.0050b2a0
mov dword [esp + 0x4c], 0x52057c
lea ecx, [esp + 0x74]
mov byte [esp + 0xb9c], 5
call fcn.00460d80
push 0xa
push 0
lea ecx, [esp + 0x7c]
mov byte [esp + 0xba4], 6
mov dword [esp + 0x7c], 0x520da8
call fcn.004de680
lea ecx, [esp + 0x24]
mov byte [esp + 0xb9c], 7
call fcn.0050b234
mov eax, dword [esp + 0x3c]
mov ebx, dword [esp + 0x18]
xor edi, edi
mov byte [esp + 0xb9c], 8
test eax, eax
jle 0x4e2823
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x88]
push ebx
push edx
mov ecx, dword [eax + edi*4]
push ebp
call fcn.004dfd30
mov ecx, eax
call fcn.00471e70
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0xba0], 9
call fcn.0050b2e2
lea ecx, [esp + 0x88]
mov byte [esp + 0xb9c], 8
call fcn.0050b22e
mov eax, dword [esp + 0x24]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4e2816
mov ecx, dword [esp + 0x38]
push eax
mov ecx, dword [ecx + edi*4]
call fcn.004dfcd0
test eax, eax
je 0x4e2816
mov edx, dword [eax + 0x10]
mov eax, dword [edx - 8]
test eax, eax
je 0x4e2816
mov eax, dword [esp + 0x54]
lea esi, [eax - 1]
test esi, esi
jl 0x4e27ea
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x24]
push edx
mov eax, dword [ecx + esi*4]
push eax
nop
call 0x609355
add esp, 8
test eax, eax
je 0x4e27e5
dec esi
jns 0x4e27c6
jmp 0x4e27ea
cmp esi, 0xffffffff
jne 0x4e280f
mov ecx, dword [esp + 0x54]
lea eax, [esp + 0x24]
push eax
push ecx
lea ecx, [esp + 0x54]
call fcn.0050b606
mov edx, dword [esp + 0x7c]
push 1
push edx
lea ecx, [esp + 0x7c]
call fcn.00431490
jmp 0x4e2816
mov eax, dword [esp + 0x78]
inc dword [eax + esi*4]
mov eax, dword [esp + 0x3c]
inc edi
cmp edi, eax
jl 0x4e2752
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x8c]
push ebx
push eax
mov ecx, dword [ecx]
push ebp
call fcn.004dfd30
mov ecx, eax
call fcn.00471e70
lea ecx, [esp + ebx*4 + 0x194]
push eax
mov byte [esp + 0xba0], 0xa
call fcn.0050b2e2
lea ecx, [esp + 0x8c]
mov byte [esp + 0xb9c], 8
call fcn.0050b22e
mov dword [esp + ebx*4 + 0xf4], 2
mov ebx, dword [esp + 0x7c]
test ebx, ebx
je 0x4e2bac
mov eax, 1
xor esi, esi
cmp ebx, eax
jle 0x4e28a8
mov edi, dword [esp + 0x78]
xor edx, edx
lea ecx, [eax*4]
mov ebp, dword [ecx + edi]
cmp ebp, dword [edx + edi]
jle 0x4e28a3
mov esi, eax
mov edx, ecx
inc eax
cmp eax, ebx
jl 0x4e2890
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x18]
lea eax, [edx + esi*4]
lea ecx, [esp + ecx*4 + 0x194]
push eax
call fcn.0050b2e2
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x54]
call fcn.0050b2ac
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x10], 0
test eax, eax
jle 0x4e2b64
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
push edx
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x4c]
push eax
push ecx
mov ecx, dword [edx + esi*4]
call fcn.004dfd30
mov ecx, eax
call fcn.00471e70
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0xba0], 0xb
call fcn.0050b2e2
lea ecx, [esp + 0x48]
mov byte [esp + 0xb9c], 8
call fcn.0050b22e
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x24]
push eax
mov ecx, dword [ecx + esi*4]
call fcn.004dfcd0
test eax, eax
mov dword [esp + 0x20], eax
je 0x4e2b4f
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
push ecx
lea eax, [esp + edx*4 + 0x198]
mov eax, dword [esp + edx*4 + 0x198]
push eax
nop
call 0x60935e
mov edx, dword [esp + 0x28]
add esp, 8
test eax, eax
jne 0x4e2b47
mov eax, dword [edx + 0x10]
lea esi, [edx + 0x10]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4e2b4f
mov ecx, dword [esp + 0x54]
mov ebx, dword [0x60d3c4]
lea edi, [ecx - 1]
test edi, edi
jl 0x4e29b4
mov edx, dword [esp + 0x50]
mov eax, dword [esi]
push eax
mov ecx, dword [edx + edi*4]
push ecx
call ebx
add esp, 8
test eax, eax
je 0x4e29af
dec edi
jns 0x4e2996
jmp 0x4e29b4
cmp edi, 0xffffffff
jne 0x4e29c3
mov eax, dword [esp + 0x54]
push esi
push eax
lea ecx, [esp + 0x54]
call fcn.0050b606
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x10]
push ecx
mov ecx, dword [edx + eax*4]
call fcn.004dfd30
mov ecx, dword [str.MONOCH]
mov ebp, eax
mov eax, dword [esi]
push ecx
push eax
xor edi, edi
call ebx
add esp, 8
test eax, eax
je 0x4e2b00
mov edx, dword [esp + 0xbb4]
mov edi, dword [edx + 8]
dec edi
js 0x4e2a26
mov eax, dword [esp + 0xbb4]
mov ecx, dword [eax + 4]
lea eax, [ecx + edi*4]
mov ecx, dword [esi]
push ecx
mov eax, dword [eax]
push eax
call ebx
add esp, 8
test eax, eax
je 0x4e2a21
dec edi
jns 0x4e2a00
jmp 0x4e2a26
cmp edi, 0xffffffff
jne 0x4e2a37
mov ecx, dword [esp + 0xbb4]
push esi
mov eax, dword [ecx + 8]
push eax
call fcn.0050b606
mov edx, dword [esp + 0x28]
mov edi, dword [edx + 8]
dec edi
js 0x4e2a5d
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 4]
lea eax, [ecx + edi*4]
mov ecx, dword [esi]
push ecx
mov eax, dword [eax]
push eax
call ebx
add esp, 8
test eax, eax
je 0x4e2a60
dec edi
jns 0x4e2a41
or edi, 0xffffffff
mov ebx, dword [esp + 0x28]
inc edi
test edi, edi
jne 0x4e2a76
mov edi, dword [ebx + 8]
push esi
push edi
mov ecx, ebx
call fcn.0050b606
inc edi
mov esi, dword [esp + 0x30]
mov ecx, dword [ebx + 8]
mov eax, dword [esi + 8]
cmp eax, ecx
jg 0x4e2b00
lea ecx, [esp + 0xb8]
mov dword [esp + 0x2c], 0
call fcn.004671e0
mov dword [esp + 0xb8], 0x5205ec
push 0x32
push 0
lea ecx, [esp + 0xc0]
mov byte [esp + 0xba4], 0xc
call fcn.004de680
lea edx, [esp + 0xb8]
mov ecx, esi
push edx
call fcn.004e4260
mov eax, dword [esi + 8]
cmp eax, 1
jle 0x4e2aec
mov ecx, dword [esi + 4]
lea eax, [eax + eax*4]
mov edx, dword [ecx + 8]
lea ecx, [ecx + eax*4 - 0x14]
push edx
lea edx, [esp + 0x30]
push edx
push 0
call fcn.00404740
lea ecx, [esp + 0xb8]
mov byte [esp + 0xb9c], 8
call fcn.00403d60
mov ecx, dword [ebp + 8]
xor eax, eax
test ecx, ecx
jle 0x4e2b4f
lea edi, [edi + edi*4]
mov esi, dword [esp + 0x20]
mov ebx, dword [ebp + 4]
mov ecx, dword [esp + 0x30]
mov edx, dword [esi + 0x240]
mov esi, dword [esi + 0x12c]
mov ebx, dword [ebx + eax*4]
mov ecx, dword [ecx + 4]
mov esi, dword [esi]
imul ebx, esi
mov ecx, dword [ecx + edi*4 + 4]
imul ebx, edx
mov esi, dword [ecx + eax*4]
add esi, ebx
mov dword [ecx + eax*4], esi
mov ecx, dword [ebp + 8]
inc eax
cmp eax, ecx
jl 0x4e2b0c
jmp 0x4e2b4f
lea ecx, [edx + 0x10]
call fcn.0050b52e
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x3c]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x4e28e1
mov eax, dword [esp + 0x54]
test eax, eax
jne 0x4e2b7d
mov eax, dword [esp + 0x18]
mov dword [esp + eax*4 + 0xf4], 0
jmp 0x4e2bac
cmp eax, 1
jne 0x4e2bac
mov ecx, dword [esp + 0x50]
mov edx, dword [str.MONOCH]
push edx
mov eax, dword [ecx]
push eax
nop
call 0x609370
add esp, 8
test eax, eax
jne 0x4e2bac
mov eax, dword [esp + 0x18]
mov dword [esp + eax*4 + 0xf4], 1
lea ecx, [esp + 0x24]
mov byte [esp + 0xb9c], 7
call fcn.0050b22e
lea ecx, [esp + 0x74]
mov byte [esp + 0xb9c], 5
mov dword [esp + 0x74], 0x522c58
call fcn.00403de0
lea ecx, [esp + 0x4c]
mov byte [esp + 0xb9c], 3
mov dword [esp + 0x4c], 0x52057c
call fcn.0050b2a6
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x30]
inc eax
add edx, 0x3c
cmp eax, 0x28
mov dword [esp + 0x18], eax
mov dword [esp + 0x30], edx
jl 0x4e2659
lea ecx, [esp + 0x90]
call fcn.00407c00
push 0xa
push 0
lea ecx, [esp + 0x98]
mov byte [esp + 0xba4], 0xd
mov dword [esp + 0x98], 0x520da8
call fcn.004de680
lea ecx, [esp + 0x60]
mov byte [esp + 0xb9c], 0xe
call fcn.0050b2a0
mov dword [esp + 0x60], 0x52057c
mov ebx, dword [esp + 0xbac]
mov ebp, dword [0x60d3c8]
mov byte [esp + 0xb9c], 0xf
mov dword [esp + 0x18], 0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + ecx*4 + 0x194]
lea esi, [esp + ecx*4 + 0x194]
mov eax, dword [edx - 8]
test eax, eax
je 0x4e2d53
mov edi, dword [ebx + 8]
dec edi
js 0x4e2cb3
mov eax, dword [ebx + 4]
mov ecx, dword [esi]
push ecx
lea eax, [eax + edi*4]
mov eax, dword [eax]
push eax
call ebp
add esp, 8
test eax, eax
je 0x4e2cae
dec edi
jns 0x4e2c94
jmp 0x4e2cb3
cmp edi, 0xffffffff
jne 0x4e2cf4
mov eax, dword [ebx + 8]
push esi
push eax
mov ecx, ebx
call fcn.0050b606
mov edx, dword [esp + 0xbb0]
mov ecx, dword [esp + 0x18]
push 0xffffffffffffffff
mov edi, dword [edx + 8]
mov ebp, dword [esp + ecx*4 + 0xf8]
mov ecx, edx
lea eax, [edi + 1]
push eax
call fcn.004de680
mov ecx, dword [esp + 0xbb0]
mov edx, dword [ecx + 4]
mov dword [edx + edi*4], ebp
mov ebp, dword [0x60d3cc]
mov eax, dword [esp + 0x68]
lea edi, [eax - 1]
test edi, edi
jl 0x4e2d1d
mov ecx, dword [esp + 0x64]
mov eax, dword [esi]
push eax
mov ecx, dword [ecx + edi*4]
push ecx
call ebp
add esp, 8
test eax, eax
je 0x4e2d18
dec edi
jns 0x4e2cff
jmp 0x4e2d1d
cmp edi, 0xffffffff
jne 0x4e2d53
mov edx, dword [esp + 0x68]
push esi
push edx
lea ecx, [esp + 0x68]
call fcn.0050b606
mov eax, dword [esp + 0x98]
push 0xffffffffffffffff
mov esi, eax
inc eax
push eax
lea ecx, [esp + 0x98]
call fcn.004de680
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x18]
mov dword [eax + esi*4], ecx
mov eax, dword [esp + 0x18]
inc eax
cmp eax, 0x28
mov dword [esp + 0x18], eax
jl 0x4e2c71
mov ecx, dword [esp + 0xbb8]
test ecx, ecx
je 0x4e2d90
mov esi, dword [esp + 0x14]
lea edx, [esp + 0x60]
lea eax, [esp + 0x90]
push edx
push eax
push esi
call fcn.004dfd30
mov ecx, eax
call fcn.00471ec0
jmp 0x4e2d94
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x28]
xor ebp, ebp
cmp dword [ebx + 8], ebp
je 0x4e3056
push ebx
lea ecx, [esp + 0x64]
call fcn.0050b2fa
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x2c], ebp
mov ebp, dword [esp + 0x68]
push 0xffffffffffffffff
mov edx, dword [ecx + 0x70]
push 0
mov eax, dword [edx + esi*4]
lea esi, [ebx + 0x28]
mov ecx, esi
mov edi, dword [eax + 0x1c]
call fcn.004049d0
push 0xffffffffffffffff
push 0
mov ecx, ebx
call fcn.0050b2ac
push 0xffffffffffffffff
push 0
lea ecx, [ebx + 0x14]
call fcn.0050b2ac
lea ecx, [esp + 0xa4]
call fcn.00403d40
lea ecx, [esp + 0x2c]
push edi
push ecx
push 0
lea ecx, [esp + 0xb0]
mov byte [esp + 0xba8], 0x10
call fcn.00404740
lea edx, [esp + 0xa4]
push ebp
push edx
push 0
mov ecx, esi
call fcn.00404070
lea ecx, [esp + 0xa4]
mov byte [esp + 0xb9c], 0xf
mov dword [esp + 0xa4], 0x5205ec
call fcn.00404970
lea eax, [esp + 0x60]
mov ecx, ebx
push eax
call fcn.0050b2fa
mov ecx, dword [ebx + 8]
xor eax, eax
test ecx, ecx
jle 0x4e2ec0
xor edi, edi
mov ecx, dword [ebx + 0x30]
test ecx, ecx
je 0x4e2e66
mov ecx, dword [ebx + 0x2c]
mov ecx, dword [ecx + 8]
jmp 0x4e2e68
xor ecx, ecx
cmp edi, ecx
jge 0x4e2eb8
xor esi, esi
lea ecx, [esp + 0x260]
mov dword [esp + 0x10], 0x28
mov ebp, dword [ecx + 4]
lea edx, [eax + 1]
cmp ebp, edx
jle 0x4e2e99
mov ebp, dword [ecx]
lea edx, [eax + eax*4]
mov edx, dword [ebp + edx*4 + 0x18]
mov edx, dword [edx + edi*4]
cmp esi, edx
jg 0x4e2e99
mov esi, edx
mov edx, dword [esp + 0x10]
add ecx, 0x3c
dec edx
mov dword [esp + 0x10], edx
jne 0x4e2e7d
mov edx, dword [ebx + 0x2c]
lea ecx, [eax + eax*4]
inc edi
mov ecx, dword [edx + ecx*4 + 4]
mov dword [ecx + edi*4 - 4], esi
jmp 0x4e2e57
mov ecx, dword [ebx + 8]
inc eax
cmp eax, ecx
jl 0x4e2e55
lea ecx, [esp + 0x60]
mov byte [esp + 0xb9c], 0xe
mov dword [esp + 0x60], 0x52057c
call fcn.0050b2a6
mov dword [esp + 0x90], 0x5205a4
mov eax, dword [esp + 0x94]
mov byte [esp + 0xb9c], 0x12
test eax, eax
je 0x4e2f00
push eax
call fcn.0050b204
add esp, 4
push fcn.0042f690
push 0x28
lea ecx, [esp + 0x23c]
mov esi, 0x520384
push 0x3c
push ecx
mov dword [esp + 0xa0], esi
mov byte [esp + 0xbac], 2
call fcn.0050c1a9
push fcn.0050b22e
push 0x28
lea edx, [esp + 0x19c]
push 4
push edx
mov byte [esp + 0xbac], 0
call fcn.0050c1a9
mov dword [esp + 0x34], 0x522cf0
mov eax, dword [esp + 0x38]
mov dword [esp + 0xb9c], 0x13
test eax, eax
je 0x4e2f6c
push eax
call fcn.0050b204
add esp, 4
mov ebx, dword [esp + 0x14]
mov dword [esp + 0xb9c], 0xffffffff
mov dword [esp + 0x34], esi
mov eax, dword [esp + 0x1c]
inc ebx
mov dword [esp + 0x14], ebx
cmp ebx, dword [eax + 0x74]
jl 0x4e251a
xor edi, edi
mov esi, eax
mov eax, dword [esi + 0x4c]
mov dword [esp + 0x14], edi
cmp eax, edi
jle 0x4e31b9
mov ecx, dword [esi + 0x48]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0xba4]
mov ebp, dword [ecx + edx*4]
push eax
mov ecx, ebp
call fcn.004e0ae0
test al, al
je 0x4e31a5
mov ecx, ebp
mov dword [esp + 0x20], edi
call fcn.004dfca0
test eax, eax
jle 0x4e31a5
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, ebp
call fcn.004dfcb0
add eax, 0xc0
lea ecx, [esp + 0x10]
push eax
call fcn.0050b33c
mov edx, dword [0x529d90]
mov eax, dword [esp + 0x10]
push edx
push eax
mov dword [esp + 0xba4], 0x14
nop
call 0x60938b
add esp, 8
test eax, eax
je 0x4e3173
mov edi, dword [esp + 0xbac]
mov esi, dword [edi + 8]
dec esi
js 0x4e3142
mov ebx, dword [0x60d3d0]
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x10]
push edx
lea eax, [ecx + esi*4]
mov eax, dword [ecx + esi*4]
push eax
call ebx
add esp, 8
test eax, eax
je 0x4e313d
dec esi
jns 0x4e3032
jmp 0x4e3142
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x2c], ebp
push 0xffffffffffffffff
push ebp
mov eax, dword [edx + 0x70]
mov ecx, dword [eax + esi*4]
lea esi, [ebx + 0x28]
mov edi, dword [ecx + 0x1c]
mov ecx, esi
call fcn.004049d0
push 0xffffffffffffffff
push ebp
mov ecx, ebx
call fcn.0050b2ac
push 0xffffffffffffffff
push ebp
lea ecx, [ebx + 0x14]
call fcn.0050b2ac
lea ecx, [esp + 0xcc]
call fcn.004671e0
mov dword [esp + 0xcc], 0x5205ec
lea edx, [esp + 0x2c]
push edi
push edx
push ebp
lea ecx, [esp + 0xd8]
mov byte [esp + 0xba8], 0x11
call fcn.00404740
lea eax, [esp + 0xcc]
push 1
push eax
push ebp
mov ecx, esi
call fcn.00404070
lea ecx, [esp + 0xcc]
mov byte [esp + 0xb9c], 0xf
call fcn.00403d60
mov eax, dword [ebx + 8]
push 0x546810
push eax
mov ecx, ebx
call fcn.0050b732
xor esi, esi
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x4e3102
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax + 8]
jmp 0x4e3104
xor eax, eax
cmp ebp, eax
jge 0x4e2ec0
xor ecx, ecx
lea edx, [esp + 0x260]
mov edi, 0x28
mov eax, dword [edx]
mov eax, dword [eax + 4]
add eax, esi
cmp ecx, dword [eax]
jg 0x4e3127
mov ecx, dword [eax]
add edx, 0x3c
dec edi
jne 0x4e311a
mov edx, dword [ebx + 0x2c]
inc ebp
add esi, 4
mov eax, dword [edx + 4]
mov dword [eax + esi - 4], ecx
jmp 0x4e30f3
cmp esi, 0xffffffff
jne 0x4e3173
mov eax, dword [edi + 8]
lea ecx, [esp + 0x10]
push ecx
push eax
mov ecx, edi
call fcn.0050b606
mov edi, dword [esp + 0xbb0]
push 0xffffffffffffffff
mov ecx, edi
mov esi, dword [edi + 8]
lea edx, [esi + 1]
push edx
call fcn.004de680
mov eax, dword [edi + 4]
mov dword [eax + esi*4], 2
lea ecx, [esp + 0x10]
mov dword [esp + 0xb9c], 0xffffffff
call fcn.0050b22e
mov esi, dword [esp + 0x20]
mov ecx, ebp
inc esi
mov dword [esp + 0x20], esi
call fcn.004dfca0
cmp esi, eax
jl 0x4e2fd8
mov esi, dword [esp + 0x1c]
xor edi, edi
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x4c]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x4e2fa4
mov eax, dword [esi + 0x74]
mov dword [esp + 0x14], edi
cmp eax, edi
jle 0x4e342d
mov ebp, dword [esp + 0xbac]
mov ebx, dword [esp + 0x1c]
mov esi, edi
mov edi, dword [0x60d3d4]
push fcn.0050b22e
push fcn.0050b234
push 0x28
lea ecx, [esp + 0x100]
push 4
push ecx
call fcn.0050c29d
mov eax, dword [ebx + 0x70]
lea edx, [esp + 0xf4]
push edx
mov dword [esp + 0xba0], 0x15
mov ecx, dword [eax + esi*4]
call fcn.00472db0
lea ebx, [esp + 0xf4]
mov dword [esp + 0x28], 0x28
mov dword [esp + 0x20], ebx
mov ecx, dword [ebx]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4e33de
mov esi, dword [ebp + 8]
dec esi
js 0x4e325e
mov edx, dword [ebp + 4]
mov ecx, dword [ebx]
push ecx
lea eax, [edx + esi*4]
mov eax, dword [edx + esi*4]
push eax
call edi
add esp, 8
test eax, eax
je 0x4e3255
dec esi
jns 0x4e323a
jmp 0x4e325e
cmp esi, 0xffffffff
jne 0x4e33de
mov eax, dword [ebp + 8]
push ebx
push eax
mov ecx, ebp
call fcn.0050b606
mov esi, dword [esp + 0xbb0]
xor edi, edi
mov eax, dword [esi + 8]
mov ebp, eax
mov dword [esp + 0x2c], ebp
inc ebp
cmp ebp, edi
jne 0x4e32a3
mov ecx, dword [esi + 4]
cmp ecx, edi
je 0x4e3298
push ecx
mov dword [esp + 0x4c], eax
call fcn.0050b204
add esp, 4
mov dword [esi + 4], edi
mov dword [esi + 0xc], edi
mov dword [esi + 8], edi
jmp 0x4e33bc
mov edx, dword [esi + 4]
cmp edx, edi
jne 0x4e32e1
lea esi, [ebp*4]
push esi
call fcn.0050b264
mov edx, dword [esp + 0xbb4]
mov ecx, esi
mov edi, eax
xor eax, eax
shr ecx, 2
mov dword [edx + 4], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov dword [edx + 0xc], ebp
mov dword [edx + 8], ebp
jmp 0x4e33bc
mov edi, dword [esi + 0xc]
cmp ebp, edi
jg 0x4e331d
cmp eax, ebp
jge 0x4e3306
mov ecx, ebp
lea edi, [edx + eax*4]
sub ecx, eax
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0xbb0]
mov dword [eax + 8], ebp
jmp 0x4e33bc
jle 0x4e330e
sub eax, ebp
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0xbb0]
mov dword [eax + 8], ebp
jmp 0x4e33bc
mov ecx, dword [esi + 0x10]
test ecx, ecx
jne 0x4e3348
cdq
and edx, 7
add eax, edx
mov ecx, eax
sar ecx, 3
cmp ecx, 4
jge 0x4e333b
mov ecx, 4
jmp 0x4e3348
cmp ecx, 0x400
jle 0x4e3348
mov ecx, 0x400
lea eax, [edi + ecx]
cmp ebp, eax
mov dword [esp + 0x10], eax
jl 0x4e3357
mov dword [esp + 0x10], ebp
mov ecx, dword [esp + 0x10]
lea edx, [ecx*4]
push edx
call fcn.0050b264
mov ebx, eax
mov eax, dword [esp + 0xbb4]
mov edi, ebx
mov ecx, dword [eax + 8]
mov esi, dword [eax + 4]
shl ecx, 2
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0xbb4]
mov ecx, ebp
mov eax, dword [esi + 8]
sub ecx, eax
lea edi, [ebx + eax*4]
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [esi + 4]
push eax
call fcn.0050b204
mov ecx, dword [esp + 0x18]
mov dword [esi + 4], ebx
mov ebx, dword [esp + 0x28]
add esp, 8
mov dword [esi + 8], ebp
mov dword [esi + 0xc], ecx
mov edx, dword [esp + 0xbb0]
mov ecx, dword [esp + 0x2c]
mov edi, dword [0x51fe50]
mov ebp, dword [esp + 0xbac]
mov eax, dword [edx + 4]
mov dword [eax + ecx*4], 2
mov eax, dword [esp + 0x28]
add ebx, 4
dec eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], eax
jne 0x4e3227
push fcn.0050b22e
push 0x28
lea edx, [esp + 0xfc]
push 4
push edx
mov dword [esp + 0xbac], 0xffffffff
call fcn.0050c1a9
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
inc esi
mov eax, dword [ebx + 0x74]
mov dword [esp + 0x14], esi
cmp esi, eax
jl 0x4e31db
mov ecx, dword [esp + 0xb94]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0xb90
ret 0x18