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

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
mov ebp, dword [esp + 0x18]
xor esi, esi
mov edi, 0
mov eax, dword [ebp + 0x690]
cmp byte [ebp + 0x51c], 2
mov eax, dword [eax + 0x54]
mov dword [esp], eax
je 0x497ebe
mov ecx, dword [ebp + 0x510]
mov edx, dword [ebp + 0x514]
call fcn.004a380e
mov edi, eax
mov ecx, dword [ebp + 0x694]
call fcn.004a381b
mov ecx, dword [ebp + 0x698]
mov ebx, eax
test ecx, ecx
je 0x497edc
call fcn.004a381b
mov esi, eax
xor eax, eax
cmp dword [ebp + 0x554], 3
je 0x497ef9
mov eax, dword [ebp + 0x568]
mov ecx, dword [ebp + 0x574]
shl eax, 3
lea eax, [eax + ecx*4]
cmp byte [ebp + 0x69c], 0
jne 0x497f18
imul ecx, dword [esp], 0x34
add edi, ebx
add edi, esi
add edi, ecx
lea eax, [eax + edi + 0x34]
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x28
pop edx
mov ecx, 0x651fc6
push 0x5d1484
call fcn.0059a2a0
push ebp
push ebx
push edi
push esi
sub esp, 0x58
mov edx, dword [esp + 0x70]
cmp byte [edx + 0x69c], 0
jne 0x4980eb
mov eax, dword [edx]
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x78]
mov ebp, dword [esp + 0x74]
xor eax, 2
or eax, dword [edx + 4]
jne 0x497f5e
mov ecx, esi
push edi
push ebp
jmp 0x497fb2
xor eax, eax
cmp dword [ebp + 0x248], 2
lea ebx, [ebp + 0xd8]
mov esi, edx
mov edx, 0x5d13b4
cmove ebx, eax
mov ecx, ebx
call fcn.00438413
lea ebp, [esp + 4]
mov edx, esi
mov ecx, ebp
push edi
push ebx
call fcn.0049c720
pop eax
pop ecx
mov eax, dword [ebp]
cmp eax, 2
jne 0x497fbd
mov ecx, dword [esp + 8]
mov esi, dword [esp + 0x6c]
call fcn.0048d11e
mov edx, dword [esp + 0x70]
mov ecx, esi
push dword [esp + 0x78]
push dword [esp + 0x78]
call fcn.0049c924
pop eax
pop ecx
mov eax, esi
jmp 0x49802d
cmp eax, 1
jne 0x497fdf
mov ecx, dword [esp + 0x78]
mov ebp, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov eax, dword [ecx + 0x10]
cmp eax, ebp
jne 0x497fe7
lea edi, [esp + 4]
mov ecx, edi
push ebp
push ebp
jmp 0x49800c
mov eax, dword [esp + 0x6c]
xor esi, esi
jmp 0x498022
cmp dword [ecx], 0
jne 0x498004
mov ecx, dword [esp + 0x70]
mov ecx, dword [ecx + 0x278]
mov esi, dword [ecx + 0x128]
cmp esi, dword [ecx + 0x12c]
jne 0x498035
lea edi, [esp + 4]
mov ecx, edi
push ebp
push eax
call fcn.0049c7b5
pop eax
pop ecx
mov ecx, dword [edi]
mov ebx, dword [edi + 4]
mov edx, dword [edi + 8]
mov eax, dword [esp + 0x6c]
xor esi, esi
inc esi
mov dword [eax], esi
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], edx
add esp, 0x58
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, dword [esp + 0x78]
mov dword [esp], edx
lea edx, [esp + 4]
add ebx, 0xc0
mov ecx, dword [esi + 8]
mov dword [edx + 8], ecx
mov ecx, dword [esi + 0xc]
mov dword [edx + 0xc], ecx
mov ecx, dword [esi + 0x14]
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], ecx
mov ecx, dword [esi + 4]
and dword [edx], 0
mov dword [edx + 4], ecx
mov cl, byte [esi + 0x18]
lea esi, [esp + 0x3c]
mov byte [edx + 0x18], cl
mov ecx, esi
push ebp
push eax
call fcn.0049c7fa
pop eax
pop ecx
movsd xmm1, qword [esi + 0x10]
lea eax, [esp + 0x20]
mov dword [esi], 1
movsd xmm0, qword [esi + 8]
movzx ecx, word [esi + 0x19]
movsd qword [eax + 0x10], xmm1
movsd xmm1, qword [esi]
movsd qword [eax + 8], xmm0
movsd qword [eax], xmm1
mov word [eax + 0x19], cx
mov cl, byte [esi + 0x1b]
lea esi, [esp + 4]
mov byte [eax + 0x1b], cl
mov ecx, dword [esp + 0x70]
mov byte [eax + 0x18], 0
lea edx, [ecx + 0x288]
mov ecx, esi
push eax
push ebx
call fcn.0049c88f
pop eax
pop ecx
mov eax, dword [esi]
cmp eax, 2
je 0x497f97
test eax, eax
je 0x4980fd
mov edx, dword [esp]
lea edi, [esp + 4]
mov ecx, edi
push ebp
push dword [edi + 8]
jmp 0x49800c
push 0x28
pop edx
mov ecx, 0x651fc6
push 0x5d1424
call fcn.0059a2a0
push 0x30
pop edx
mov ecx, 0x5d06f7
push 0x5d079c
call fcn.0059a5e0
push ebp
push ebx
push edi
push esi
sub esp, 0xc
mov edi, dword [esp + 0x24]
cmp byte [edi + 0x69c], 0
jne 0x4981bc
mov eax, dword [edi]
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x28]
xor eax, 2
or eax, dword [edi + 4]
jne 0x498145
mov ecx, esi
mov edx, edi
push ebx
push ebp
jmp 0x498195
mov esi, ebx
xor ebx, ebx
cmp dword [ebp + 0x248], 2
lea eax, [ebp + 0xd8]
mov edx, 0x5d13c4
cmovne ebx, eax
mov ecx, ebx
call fcn.00438413
mov ebp, esp
mov edx, edi
mov ecx, ebp
push esi
push ebx
call fcn.0049c720
pop eax
pop ecx
mov esi, dword [ebp]
cmp esi, 2
jne 0x4981a0
mov ecx, dword [esp + 4]
call fcn.0048d11e
mov esi, dword [esp + 0x20]
mov edx, edi
mov ecx, esi
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call fcn.004a37d2
pop eax
pop ecx
mov eax, esi
jmp 0x4981b4
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
mov dword [eax], esi
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x28
pop edx
mov ecx, 0x651fc6
push 0x5d1434
call fcn.0059a2a0
push ebp
push ebx
push edi
push esi
sub esp, 0xc
mov esi, dword [esp + 0x20]
cmp byte [esi + 0x69c], 0
jne 0x498250
mov eax, dword [esi]
mov edi, dword [esp + 0x24]
xor eax, 2
or eax, dword [esi + 4]
je 0x498231
xor ebx, ebx
cmp dword [edi + 0x248], 2
lea eax, [edi + 0xd8]
mov edx, 0x5d13c4
cmovne ebx, eax
mov ecx, ebx
call fcn.00438413
mov ebp, esp
mov edx, esi
mov ecx, ebp
push dword [esp + 0x28]
push ebx
call fcn.0049c720
pop eax
pop ecx
mov eax, dword [ebp]
cmp eax, 2
jne 0x498243
mov ecx, dword [esp + 4]
call fcn.0048d11e
mov ecx, esi
mov edx, edi
push dword [esp + 0x28]
call fcn.004a33f1
add esp, 0x10
jmp 0x49824b
test eax, eax
setne al
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x28
pop edx
mov ecx, 0x651fc6
push 0x5d1434
call fcn.0059a2a0
push ebp
push ebx
push edi
push esi
sub esp, 0x70
mov edi, dword [esp + 0x84]
mov esi, dword [esp + 0x94]
mov ebp, dword [esp + 0x90]
mov ebx, dword [esp + 0x8c]
mov edx, dword [esp + 0x88]
mov eax, dword [edi + 0x694]
mov eax, dword [eax + 0x13c]
mov eax, dword [eax + 0x10]
add eax, eax
cmp eax, esi
jae 0x49833a
cmp dword [edi + 0x554], 3
jne 0x4983cc
cmp byte [edi + 0x69c], 0
jne 0x4987a7
mov eax, dword [edi]
xor eax, 2
or eax, dword [edi + 4]
je 0x4983ec
xor ebp, ebp
cmp dword [edx + 0x248], 2
lea ebx, [edx + 0xd8]
mov edx, 0x5d13b4
cmove ebx, ebp
mov ecx, ebx
call fcn.00438413
lea esi, [esp + 0xc]
mov edx, edi
mov ecx, esi
push dword [esp + 0x8c]
push ebx
call fcn.0049c720
pop eax
pop ecx
mov eax, dword [esi]
cmp eax, 2
jne 0x498425
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x94]
call fcn.0048d11e
mov edx, dword [esp + 0x88]
mov ecx, edi
push esi
push dword [esp + 0x94]
push dword [esp + 0x94]
jmp 0x4983f1
cmp byte [edi + 0x69c], 0
jne 0x4987a7
mov eax, dword [edi]
xor eax, 2
or eax, dword [edi + 4]
je 0x4983a5
xor esi, esi
cmp dword [edx + 0x248], 2
lea ebx, [edx + 0xd8]
mov edx, 0x5d13b4
cmove ebx, esi
mov ecx, ebx
call fcn.00438413
lea ebp, [esp + 0xc]
mov edx, edi
mov ecx, ebp
push dword [esp + 0x8c]
push ebx
call fcn.0049c720
pop eax
pop ecx
mov eax, dword [ebp]
cmp eax, 2
jne 0x498400
mov ecx, dword [esp + 0x10]
mov ebp, dword [esp + 0x90]
call fcn.0048d11e
mov edx, dword [esp + 0x88]
lea ebx, [esp + 0x28]
mov eax, edx
mov edx, edi
mov ecx, ebx
push dword [esp + 0x8c]
push eax
call fcn.0049c924
pop eax
pop ecx
mov esi, dword [ebx]
mov edi, dword [esp + 0x94]
jmp 0x4984c2
mov eax, dword [ebx]
dec eax
cmp eax, 2
jb 0x4983ec
mov eax, dword [edi + 0x578]
mov ecx, dword [eax + 0x128]
cmp ecx, dword [eax + 0x12c]
jne 0x4982b2
mov ecx, edi
push esi
push ebp
push ebx
call fcn.0049ccf4
add esp, 0xc
mov ebp, eax
jmp 0x4984f3
cmp eax, 1
jne 0x498469
mov ecx, dword [esp + 0x8c]
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov eax, dword [ecx + 0x10]
cmp eax, ebp
jne 0x49846b
lea esi, [esp + 0xc]
mov ecx, esi
push ebp
push ebp
jmp 0x498496
cmp eax, 1
jne 0x4984f3
mov ebp, dword [esp + 0x8c]
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov eax, dword [ebp + 0x10]
cmp eax, esi
jne 0x4984fd
lea ebx, [esp + 0xc]
mov ecx, ebx
push esi
push esi
mov esi, eax
call fcn.0049c7b5
mov edx, esi
add esp, 8
mov eax, dword [ebx]
mov ecx, dword [ebx + 8]
mov esi, dword [ebp]
jmp 0x498549
jmp 0x4984a8
cmp dword [ecx], 0
jne 0x49848e
mov ecx, dword [edi + 0x278]
mov dword [esp], edx
mov edx, dword [ecx + 0x128]
cmp edx, dword [ecx + 0x12c]
mov edx, dword [esp]
jne 0x4985ef
lea esi, [esp + 0xc]
mov ecx, esi
push ebp
push eax
call fcn.0049c7b5
pop eax
pop ecx
mov ecx, dword [esi]
mov eax, dword [esi + 4]
mov edx, dword [esi + 8]
xor esi, esi
inc esi
mov ebp, dword [esp + 0x90]
mov edi, dword [esp + 0x94]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
test esi, esi
je 0x4984f1
mov edx, dword [esp + 0x34]
lea ecx, [edx + edx]
lea eax, [edx + edx + 1]
cmp ecx, edi
jae 0x4984de
mov esi, dword [esp + 0x2c]
inc esi
mov dword [ebp + ecx*4], esi
mov esi, ebp
xor ebp, ebp
inc ebp
cmp eax, edi
jae 0x4984f3
mov ecx, dword [esp + 0x30]
inc ecx
mov dword [esi + eax*4], ecx
jmp 0x4984f3
xor ebp, ebp
mov eax, ebp
add esp, 0x70
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp], esi
mov esi, dword [ebp]
test esi, esi
jne 0x498527
mov dword [esp + 8], eax
mov eax, dword [edi + 0x278]
mov ecx, dword [eax + 0x128]
cmp ecx, dword [eax + 0x12c]
mov eax, dword [esp + 8]
jne 0x4986c5
lea ebx, [esp + 0xc]
mov ecx, ebx
push dword [esp]
push eax
mov ebp, eax
call fcn.0049c7b5
mov edx, ebp
add esp, 8
mov eax, dword [ebx]
mov ecx, dword [ebx + 8]
mov ebp, dword [esp + 0x8c]
mov dword [esp], eax
mov eax, dword [ebx + 4]
mov dword [esp + 4], ecx
mov ecx, dword [ebp + 8]
lea ebx, [esp + 0xc]
mov dword [ebx + 8], ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebx + 0xc], ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebx + 0x10], edx
mov edx, ebx
mov dword [ebx + 0x14], ecx
mov ecx, dword [ebp + 4]
mov dword [ebx], esi
mov dword [ebx + 4], ecx
mov cl, byte [ebp + 0x18]
lea ebp, [esp + 0x38]
mov byte [ebx + 0x18], cl
mov ecx, ebp
push eax
push dword [esp + 4]
call fcn.0049c7fa
pop eax
pop ecx
mov eax, dword [esp + 4]
mov dword [ebp], 2
mov edx, dword [esp + 0x88]
mov ecx, edi
mov dword [ebp + 4], eax
movsd xmm1, qword [ebp + 0x10]
movsd xmm0, qword [ebp + 8]
mov eax, dword [ebp + 0x18]
movsd qword [ebx + 0x10], xmm1
movsd xmm1, qword [ebp]
movsd qword [ebx + 8], xmm0
mov dword [ebx + 0x18], eax
movsd qword [ebx], xmm1
push dword [esp + 0x94]
push dword [esp + 0x94]
push ebx
call fcn.0049ccf4
add esp, 0xc
test eax, eax
je 0x4987b9
xor ebp, ebp
inc ebp
jmp 0x4984f3
mov esi, dword [esp + 0x8c]
lea edx, [esp + 0xc]
add ebx, 0xc0
mov ecx, dword [esi + 8]
mov dword [edx + 8], ecx
mov ecx, dword [esi + 0xc]
mov dword [edx + 0xc], ecx
mov ecx, dword [esi + 0x14]
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], ecx
mov ecx, dword [esi + 4]
and dword [edx], 0
mov dword [edx + 4], ecx
mov cl, byte [esi + 0x18]
lea esi, [esp + 0x38]
mov byte [edx + 0x18], cl
mov ecx, esi
push ebp
push eax
call fcn.0049c7fa
pop eax
pop ecx
movsd xmm1, qword [esi + 0x10]
lea eax, [esp + 0x54]
mov dword [esi], 1
movsd xmm0, qword [esi + 8]
lea edx, [edi + 0x288]
movzx ecx, word [esi + 0x19]
movsd qword [eax + 0x10], xmm1
movsd xmm1, qword [esi]
movsd qword [eax + 8], xmm0
movsd qword [eax], xmm1
mov word [eax + 0x19], cx
mov cl, byte [esi + 0x1b]
lea esi, [esp + 0xc]
mov byte [eax + 0x1b], cl
mov byte [eax + 0x18], 0
mov ecx, esi
push eax
push ebx
call fcn.0049c88f
pop eax
pop ecx
mov eax, dword [esi]
cmp eax, 2
je 0x49838e
mov edi, dword [esp + 0x94]
test eax, eax
je 0x4987cb
mov edx, dword [esp]
lea esi, [esp + 0xc]
mov ecx, esi
push ebp
push dword [esi + 8]
call fcn.0049c7b5
pop eax
pop ecx
mov ecx, dword [esi]
mov eax, dword [esi + 4]
mov edx, dword [esi + 8]
mov ebp, dword [esp + 0x90]
xor esi, esi
inc esi
jmp 0x4984b6
mov ecx, dword [esp + 0x8c]
mov esi, eax
mov dword [esp + 4], edx
lea edx, [esp + 0xc]
add ebx, 0xc0
mov eax, dword [ecx + 8]
mov ebp, dword [ecx + 4]
mov dword [edx + 8], eax
mov eax, dword [ecx + 0xc]
mov dword [edx + 0xc], eax
mov eax, dword [ecx + 0x14]
mov cl, byte [ecx + 0x18]
mov dword [edx + 0x10], esi
mov dword [edx + 0x14], eax
and dword [edx], 0
mov dword [edx + 4], ebp
lea ebp, [esp + 0x38]
mov byte [edx + 0x18], cl
mov ecx, ebp
push dword [esp]
push esi
call fcn.0049c7fa
pop eax
pop ecx
movsd xmm1, qword [ebp + 0x10]
lea eax, [esp + 0x54]
mov dword [ebp], 1
movsd xmm0, qword [ebp + 8]
lea esi, [esp + 0xc]
lea edx, [edi + 0x288]
movzx ecx, word [ebp + 0x19]
movsd qword [eax + 0x10], xmm1
movsd xmm1, qword [ebp]
movsd qword [eax + 8], xmm0
movsd qword [eax], xmm1
mov word [eax + 0x19], cx
mov cl, byte [ebp + 0x1b]
mov byte [eax + 0x1b], cl
mov byte [eax + 0x18], 0
mov ecx, esi
push eax
push ebx
call fcn.0049c88f
pop eax
pop ecx
mov eax, dword [esi]
cmp eax, 2
je 0x49830d
test eax, eax
je 0x4987cb
mov edx, dword [esp + 4]
lea esi, [esp + 0xc]
mov ecx, esi
push dword [esp]
push dword [esi + 8]
call fcn.0049c7b5
pop eax
pop ecx
mov eax, dword [esi]
mov ecx, dword [esi + 8]
mov ebp, dword [esp + 0x8c]
mov edx, dword [esp + 8]
mov dword [esp], eax
mov eax, dword [esi + 4]
mov dword [esp + 4], ecx
xor esi, esi
jmp 0x498553
push 0x28
pop edx
mov ecx, 0x651fc6
push 0x5d1424
call fcn.0059a2a0
push 0x13
pop edx
mov ecx, str.should_find_a_match
push 0x5d107c
call fcn.0059a5e0
push 0x30
pop edx
mov ecx, 0x5d06f7
push 0x5d079c
call fcn.0059a5e0
push ebp
push ebx
push edi
push esi
sub esp, 0x38
mov ebx, dword [esp + 0x4c]
cmp byte [ebx + 0x69c], 0
jne 0x498937
mov eax, dword [ebx]
xor edx, edx
mov esi, dword [esp + 0x54]
mov edi, dword [esp + 0x50]
mov ebp, ebx
xor eax, 2
or eax, dword [ebx + 4]
cmove ebp, edx
je 0x4988f7
cmp dword [edi + 0x248], 2
lea ecx, [edi + 0xd8]
cmove ecx, edx
mov edx, 0x5d1404
mov dword [esp + 4], ecx
call fcn.00438413
lea eax, [esp + 8]
mov esi, dword [ebx + 0x278]
mov edi, dword [esp + 0x58]
and dword [eax], 0
and dword [eax + 0xc], 0
and dword [eax + 0x1c], 0
and dword [eax + 0x14], 0
mov byte [eax + 0x20], 0
mov eax, dword [esp + 0x54]
mov al, byte [eax + 0x18]
mov byte [esp + 3], al
cmp byte [esi + 0x15a], 0
je 0x498871
cmp byte [esi + 0x15b], 0
sete bl
jmp 0x498873
mov bl, 1
mov edx, dword [esp + 4]
lea eax, [esp + 8]
mov ecx, ebp
push eax
push dword [esp + 0x58]
call fcn.00489f0d
pop ecx
pop edx
test eax, eax
jne 0x4988e2
mov eax, dword [esp + 8]
test eax, eax
sete cl
or bl, cl
je 0x4988bf
test eax, eax
je 0x4988dd
lea ecx, [esp + 0x2c]
mov edx, edi
push dword [esp + 0xc]
call fcn.0049c5d4
pop eax
mov eax, dword [edi + 8]
cmp eax, dword [edi + 4]
je 0x4988dd
cmp byte [esp + 3], 0
je 0x49885c
jmp 0x4988dd
mov ecx, dword [esp + 0x54]
lea edx, [esp + 8]
push dword [esp + 4]
push ebp
call fcn.0059c9d4
pop ecx
pop edx
test eax, eax
jne 0x4988e2
mov eax, dword [esp + 8]
jmp 0x49889a
add esp, 0x38
jmp 0x498932
mov ecx, eax
call fcn.0048d11e
mov ebx, dword [esp + 0x4c]
mov esi, dword [esp + 0x54]
mov edi, dword [esp + 0x50]
xor edx, edx
cmp dword [edi + 0x268], 0x80000000
mov ebp, esi
lea esi, [edi + 0x268]
cmove esi, edx
mov edx, 0x5d1314
mov ecx, esi
call fcn.00438413
mov ecx, dword [ebx + 0x520]
mov edx, dword [ebx + 0x534]
push dword [esp + 0x58]
push ebp
push esi
call fcn.0049894c
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x28
pop edx
mov ecx, 0x651fc6
push 0x5d1474
call fcn.0059a2a0
int3