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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xfc]
cmp eax, dword [ecx + 8]
jbe 0x461726
sub esp, 0x17c
mov ecx, dword [0x5b9b38]
test ecx, ecx
je 0x46132b
mov ecx, dword [0x5b9ad4]
mov dword [esp + 0x38], ecx
lea edi, [esp + 0x88]
xor eax, eax
call fcn.00468b59
mov ecx, dword [esp + 0x38]
cmp ecx, 8
jg 0x4612d0
lea edi, [esp + 0xf0]
call fcn.00468b3d
lea ecx, [esp + 0xf0]
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x38]
lea eax, [0x4f9e20]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea ecx, [esp + 0x88]
mov dword [esp + 8], ecx
call fcn.0040dfd0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x44], eax
call fcn.004553c0
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
test ecx, ecx
jbe 0x46171c
mov ebx, dword [eax]
dec edx
neg edx
sar edx, 0x1f
and edx, 4
add eax, edx
mov dword [esp + 0x68], eax
dec ecx
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x44]
xor ebp, ebp
jmp 0x46133d
add esp, 0x17c
ret
inc ebp
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x38]
mov ebx, esi
cmp ebp, ecx
jge 0x46147d
mov dword [esp + 0x34], ebp
mov dword [esp + 0x54], ebx
mov esi, dword [eax + ebp*4]
mov dword [esp + 0x64], esi
mov edi, dword [ebx + 0xb0]
mov dword [esp + 0x60], edi
mov eax, dword [ebx + 0xb4]
mov dword [esp + 0x30], eax
mov dword [esp + 0x3c], eax
xor eax, eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x3c]
jmp 0x4614a9
mov eax, dword [esi + 0x110]
test eax, eax
jne 0x461332
mov eax, dword [esi + 0xb4]
lea ecx, [0x4f9ae0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0
call fcn.0040dfd0
mov eax, dword [esp + 0xc]
mov ecx, dword [0x5f73dc]
inc ecx
mov edx, dword [0x5f73d8]
mov ebx, dword [0x5f73e0]
cmp ebx, ecx
jae 0x46141b
mov dword [esp + 0x48], eax
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x4f9ae0]
mov dword [esp + 0x10], eax
call fcn.0044f980
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [0x5f73e0], edx
mov edx, dword [0x61d360]
test edx, edx
jne 0x46140a
mov dword [0x5f73d8], eax
jmp 0x461415
lea edi, [0x5f73d8]
call fcn.00468980
mov edx, eax
mov eax, dword [esp + 0x48]
mov dword [0x5f73dc], ecx
mov ebx, dword [0x61d360]
lea edi, [edx + ecx*4 - 4]
test ebx, ebx
jne 0x46143f
mov dword [edx + ecx*4 - 4], eax
mov ecx, dword [esp + 0x64]
mov dword [ecx + 0x110], eax
jmp 0x461453
call fcn.00468980
mov ecx, dword [esp + 0x64]
lea edi, [ecx + 0x110]
call fcn.00468980
mov eax, dword [ecx + 0xb0]
mov dword [esp + 0x60], eax
mov edx, dword [ecx + 0xb4]
mov dword [esp + 0x30], edx
xor ebx, ebx
jmp 0x4615e5
mov edx, dword [esp + 0x44]
mov ebp, dword [esp + 0x34]
mov esi, ecx
jmp 0x461332
add esp, 0x17c
ret
mov eax, dword [esp + 0x2c]
inc eax
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x64]
mov edi, dword [esp + 0x60]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
cmp ecx, eax
jge 0x46137b
mov ebp, dword [edi + ecx*4]
mov esi, dword [ebx + 0x110]
test esi, esi
jne 0x4614cc
mov esi, dword [ebx + 0x94]
add ebp, esi
jmp 0x4614ec
lea eax, [0x4f9ae0]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
call fcn.00410730
mov eax, dword [esp + 0xc]
mov ebp, dword [eax]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x50], ebp
mov eax, dword [ebp + 8]
lea ecx, [0x4f9e20]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00410730
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov edx, dword [eax + 8]
mov eax, dword [eax + 4]
mov ebx, dword [esp + 0x50]
xor ebp, ebp
jmp 0x461708
lea ebp, [eax + 1]
cmp edx, ebp
jae 0x461559
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x508fa0]
mov dword [esp + 0x10], eax
call fcn.0044f980
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], edx
mov esi, dword [0x61d360]
lea edi, [ecx + ebp*4 - 4]
test esi, esi
jne 0x461579
mov dword [ecx + ebp*4 - 4], ebx
jmp 0x461580
mov eax, ebx
call fcn.00468980
mov eax, dword [ebx + 8]
lea ecx, [0x4f9e20]
mov dword [esp], ecx
mov edx, dword [esp + 0x44]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00410b80
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x28]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x24]
mov dword [edi + 8], eax
mov eax, dword [0x61d360]
test eax, eax
jne 0x4615c4
mov eax, dword [esp + 0x58]
mov dword [edi], eax
jmp 0x461484
mov eax, dword [esp + 0x58]
call fcn.00468980
jmp 0x461484
mov ebp, dword [esp + 0x2c]
lea ebx, [ebp + 1]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x30]
cmp ebx, edx
jge 0x46146e
mov dword [esp + 0x2c], ebx
mov edx, dword [eax + ebx*4]
mov dword [esp + 0x20], edx
mov ebp, dword [ecx + 0x94]
add ebp, edx
mov dword [esp + 0x5c], ebp
mov esi, dword [ebp + 8]
lea edi, [0x4f9e20]
mov dword [esp], edi
mov edi, dword [esp + 0x44]
mov dword [esp + 4], edi
mov dword [esp + 8], esi
call fcn.00410730
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov dword [esp + 0x58], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x28], eax
xor edx, edx
jmp 0x4616a0
mov eax, dword [esp + 0x4c]
jmp 0x461640
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x64]
mov edx, dword [ecx + 0x110]
lea ebx, [0x4f9ae0]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 8], edx
call fcn.00410b80
mov edi, dword [esp + 0xc]
test byte [edi], al
mov eax, dword [0x61d360]
test eax, eax
jne 0x461683
mov eax, dword [esp + 0x4c]
mov dword [edi], eax
jmp 0x4615d2
mov eax, dword [esp + 0x4c]
call fcn.00468980
jmp 0x4615d2
mov ebx, dword [esp + 0x24]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x58]
cmp edx, eax
jge 0x46163c
mov dword [esp + 0x24], edx
mov ebx, dword [ecx + edx*4]
mov dword [esp + 0x4c], ebx
lea edi, [esp + 0x6c]
xor eax, eax
call fcn.00468b59
lea edi, [esp + 0xa4]
call fcn.00468b4d
lea ecx, [esp + 0xa4]
mov dword [esp + 0x78], ecx
call fcn.00454830
mov ecx, dword [esp]
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp], ecx
mov edx, dword [esp + 0x4c]
mov dword [esp + 4], edx
lea ebx, [esp + 0x6c]
mov dword [esp + 8], ebx
call fcn.00461730
movzx ecx, byte [esp + 0xc]
test cl, cl
je 0x461691
jmp 0x461636
inc ebp
cmp ebp, eax
jge 0x461520
lea esi, [ecx + ebp*4]
cmp dword [esi], ebx
jne 0x461707
jmp 0x461484
xor eax, eax
mov ecx, eax
call fcn.00468a00
nop
call fcn.00467570
jmp fcn.00461260