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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
push ebx
push esi
mov esi, edx
mov dword [esp + 0x20], ecx
xor eax, eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x1c], eax
xorps xmm0, xmm0
mov dword [esp + 0x30], eax
mov ecx, dword [esi]
mov dword [esp + 0x34], eax
push edi
mov dword [esp + 0x14], ecx
mov eax, dword [ecx]
mov dword [esp + 0x10], eax
movlpd qword [esp + 0x58], xmm0
mov eax, dword [eax]
mov dword [esp + 0x18], eax
cmp byte [eax + 0x41], 0
jne 0x4587dd
imul eax, dword [ebp + 8], 0x30
lea ecx, [ecx + 0x44]
mov edi, dword [esi + 0x14]
add edi, eax
mov dword [esp + 0x2c], eax
mov ebx, dword [edi]
mov dword [esp + 0x74], ebx
mov edx, dword [ebx + 0xc]
call fcn.004588a4
mov dword [esp + 0x64], eax
mov ecx, 0x800
mov al, byte [ebx]
mov byte [esp + 0xf], al
movzx eax, al
mov dword [esp + 0x44], edx
mov dword [esp + 0x1c], eax
cmp eax, 0x4b
jne 0x458170
test dword [ebx + 4], ecx
mov ecx, dword [esp + 0x14]
mov edx, dword [ebx + 0x14]
lea ecx, [ecx + 0x44]
je 0x458169
call fcn.00457f02
jmp 0x458197
call fcn.0045890d
jmp 0x458197
cmp eax, 0x4c
jne 0x458188
xorps xmm0, xmm0
movlpd qword [esp + 0x68], xmm0
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x68]
jmp 0x458197
mov ecx, dword [esp + 0x14]
mov edx, dword [ebx + 0x10]
lea ecx, [ecx + 0x44]
call fcn.004588a4
mov ecx, dword [esp + 0x14]
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], edx
mov edx, ebx
lea ecx, [ecx + 0x44]
call fcn.004588a4
test byte [ebx + 4], 1
mov ecx, eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x30], edx
je 0x4581e5
mov ecx, dword [esp + 0x14]
movsx edx, word [ebx + 0x24]
lea ecx, [ecx + 0x44]
call fcn.00458b86
mov ecx, dword [esp + 0x48]
or dword [esp + 0x30], edx
or ecx, eax
add eax, 0xffffffff
mov dword [esp + 0x48], ecx
adc edx, 0xffffffff
mov dword [esp + 0x54], edx
jmp 0x4581f1
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x58]
or dword [edi + 8], 0xffffffff
or dword [edi + 4], 0xffffffff
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x30]
mov dword [edi + 0x2c], eax
xor eax, eax
mov dword [edi + 0x28], ecx
mov ecx, dword [esp + 0x1c]
mov word [edi + 0x12], ax
call fcn.00457537
test eax, eax
je 0x4583ee
mov ecx, dword [ebx + 0xc]
call fcn.00436cca
mov ecx, dword [ebx + 0x10]
mov dword [esp + 0x68], eax
call fcn.00436cca
mov ecx, dword [esp + 0x44]
and ecx, dword [edi + 0x24]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x64]
mov edx, eax
and edx, dword [edi + 0x20]
or edx, ecx
mov dword [esp + 0x4c], 0x1fff
je 0x45825a
mov dword [esp + 0x4c], 0x800
mov edx, dword [esp + 0x68]
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x40]
push ecx
push dword [esp + 0x4c]
mov ecx, dword [esp + 0x30]
push eax
call fcn.00457fe3
add esp, 0x10
test eax, eax
je 0x45829d
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x1c]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x40]
mov dword [edi + 0xc], eax
call fcn.004575c2
and ax, word [esp + 0x4c]
mov word [edi + 0x12], ax
cmp byte [esp + 0xf], 0x49
jne 0x4582ad
mov eax, 0x800
or word [edi + 0x14], ax
mov eax, dword [esp + 0x58]
test eax, eax
je 0x4584ce
lea ecx, [esp + 0x40]
mov edx, eax
push ecx
lea ecx, [esp + 0x40]
push ecx
push dword [edi + 0x24]
mov ecx, dword [esp + 0x30]
push dword [edi + 0x20]
call fcn.00457fe3
add esp, 0x10
test eax, eax
je 0x4584ce
xor eax, eax
mov dword [esp + 0x68], eax
cmp dword [edi + 8], eax
jl 0x4583e2
mov edi, dword [esp + 0x18]
mov edx, ebx
push eax
push eax
mov ecx, edi
call fcn.00437686
cmp byte [edi + 0x41], 0
mov edx, eax
pop ecx
pop ecx
mov dword [esp + 0x1c], eax
je 0x458317
mov ecx, edi
call fcn.00437583
jmp 0x4587dd
push 3
mov ecx, esi
call fcn.00457433
pop ecx
test eax, eax
je 0x4587dd
push dword [ebp + 8]
imul edi, eax, 0x30
mov edx, eax
mov ecx, esi
add edi, dword [esi + 0x14]
mov dword [esp + 0x5c], edi
call fcn.00457824
add esp, 4
cmp byte [esp + 0xf], 0x49
jne 0x458352
mov eax, 0x800
or word [edi + 0x14], ax
mov edi, dword [esi + 0x14]
add edi, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
push 8
pop eax
or word [edi + 0x14], ax
call fcn.00457e44
test eax, eax
je 0x45837e
mov eax, 0x800
or word [edi + 0x12], ax
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
mov edx, eax
call fcn.00457557
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x44]
or ecx, dword [esp + 0x54]
mov dword [edx + 8], eax
mov eax, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x64]
or eax, dword [esp + 0x50]
mov dword [edx + 0x20], eax
mov eax, dword [esp + 0x48]
mov dword [edx + 0x28], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 0x2c], eax
mov eax, dword [esp + 0x1c]
mov dword [edx + 0x24], ecx
movzx ecx, byte [eax]
call fcn.004575c2
add ax, word [esp + 0x68]
and ax, word [esp + 0x4c]
mov word [edx + 0x12], ax
jmp 0x4584ce
mov eax, ebx
mov dword [esp + 0x58], edi
mov dword [esp + 0x1c], eax
jmp 0x458382
mov al, byte [ebx]
cmp al, 0x4a
jne 0x4584b4
cmp byte [esi + 8], 0x48
jne 0x4586d6
and dword [esp + 0x4c], 0
xor ecx, ecx
mov eax, dword [ebx + 0x14]
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ecx
mov eax, dword [eax + 4]
push 0
push 0
mov edx, dword [ecx + eax]
mov ecx, dword [esp + 0x20]
call fcn.00437686
mov edx, dword [ebx + 0xc]
mov esi, eax
mov ecx, dword [esp + 0x20]
push 0
push 0
call fcn.00437686
mov ecx, dword [esp + 0x20]
push 0
push esi
push eax
mov eax, dword [esp + 0x68]
movzx edx, byte [eax + 0x4b505c]
call fcn.00437206
add esp, 0x1c
mov ecx, eax
mov edx, ebx
call fcn.0045780e
mov edi, dword [esp + 0x28]
mov edx, ecx
push 3
mov ecx, edi
call fcn.00457433
pop ecx
mov ecx, dword [esp + 0x24]
mov esi, eax
push esi
mov edx, edi
call fcn.004580cd
mov edi, dword [edi + 0x14]
mov edx, esi
mov esi, dword [esp + 0x2c]
add edi, dword [esp + 0x30]
pop ecx
push dword [ebp + 8]
mov ecx, esi
call fcn.00457824
mov ecx, dword [esp + 0x6c]
add esp, 4
inc dword [esp + 0x4c]
add ecx, 0x18
mov eax, dword [esp + 0x64]
mov dword [esp + 0x68], ecx
cmp ecx, 0x30
jl 0x458414
jmp 0x4584ce
cmp al, 0x47
jne 0x4584ce
push dword [ebp + 8]
mov ecx, dword [esp + 0x28]
mov edx, esi
call fcn.0045795e
mov edi, dword [esi + 0x14]
add edi, dword [esp + 0x30]
pop ecx
cmp byte [esi + 8], 0x48
jne 0x4586d6
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x38]
mov edx, ebx
push eax
lea eax, [esp + 0x28]
push eax
call fcn.004575ec
add esp, 0xc
test eax, eax
je 0x4586d6
mov eax, dword [ebx + 0x14]
mov esi, dword [esp + 0x18]
mov ecx, esi
mov edx, dword [esp + 0x20]
push 0
mov eax, dword [eax + 4]
push 0
mov eax, dword [eax + 0x18]
mov dword [esp + 0x70], eax
call fcn.00437686
cmp dword [esp + 0x40], 0
pop ecx
pop ecx
mov dword [esp + 0x1c], eax
je 0x458590
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
cmp byte [ecx + 0x41], 0
jne 0x45858c
and dword [esp + 0x64], 0
mov eax, 0x400
or word [edi + 0x14], ax
mov eax, dword [esp + 0x20]
mov edi, dword [eax + 8]
mov cl, byte [edi]
test cl, cl
je 0x45858c
mov esi, dword [esp + 0x64]
mov ebx, eax
movzx edx, cl
mov al, byte [edx + 0x4b2c38]
and al, 0x20
not al
and al, cl
mov byte [edi], al
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 8]
mov al, byte [edx + 0x4b3440]
mov byte [esi + ecx], al
inc esi
mov edi, dword [ebx + 8]
add edi, esi
mov cl, byte [edi]
test cl, cl
jne 0x458557
mov ebx, dword [esp + 0x74]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
cmp byte [esi + 0x41], 0
jne 0x4585cc
mov esi, dword [eax + 8]
mov ecx, esi
call fcn.00415cec
cmp dword [esp + 0x38], 0
mov ecx, dword [esp + 0x34]
lea edx, [eax + esi]
mov al, byte [edx - 1]
je 0x4585c1
xor esi, esi
cmp al, 0x40
movzx eax, al
cmove ecx, esi
mov al, byte [eax + 0x4b3440]
inc al
mov dword [esp + 0x4c], ecx
mov byte [edx - 1], al
jmp 0x4585d4
mov eax, dword [esp + 0x34]
mov dword [esp + 0x4c], eax
cmp dword [esp + 0x38], 0
mov eax, str.BINARY
mov edx, dword [esp + 0x68]
mov esi, str.NOCASE
mov ecx, dword [esp + 0x18]
cmove esi, eax
xor edi, edi
push edi
push edi
call fcn.00437686
pop ecx
pop ecx
mov ecx, dword [esp + 0x10]
mov edx, eax
push edi
push dword [esp + 0x24]
push esi
call fcn.00436c9c
pop ecx
mov ecx, dword [esp + 0x18]
push eax
push 0x53
pop edx
call fcn.00437206
add esp, 0xc
mov ecx, eax
mov edx, ebx
call fcn.0045780e
mov edx, ecx
mov ecx, dword [esp + 0x28]
push 0x103
call fcn.00457433
mov edx, dword [esp + 0x2c]
pop ecx
mov ecx, dword [esp + 0x24]
push eax
mov dword [esp + 0x78], eax
call fcn.004580cd
mov edx, dword [esp + 0x6c]
pop ecx
mov ecx, dword [esp + 0x18]
push edi
push edi
call fcn.00437686
pop ecx
pop ecx
mov ecx, dword [esp + 0x10]
mov edx, eax
push edi
push dword [esp + 0x20]
push esi
call fcn.00436c9c
pop ecx
mov ecx, dword [esp + 0x18]
push eax
push 0x52
pop edx
call fcn.00437206
add esp, 0xc
mov ecx, eax
mov edx, ebx
call fcn.0045780e
mov esi, dword [esp + 0x28]
mov edx, ecx
push 0x103
mov ecx, esi
call fcn.00457433
pop ecx
mov ecx, dword [esp + 0x24]
mov edx, esi
push eax
mov dword [esp + 0x6c], eax
call fcn.004580cd
mov edi, dword [esi + 0x14]
add edi, dword [esp + 0x30]
cmp dword [esp + 0x50], 0
pop ecx
je 0x4586d6
push dword [ebp + 8]
mov edx, dword [esp + 0x78]
mov ecx, esi
call fcn.00457824
mov edx, dword [esp + 0x6c]
add esp, 4
push dword [ebp + 8]
call fcn.00457824
add esp, 4
cmp byte [ebx], 0x99
jne 0x4587cf
push str.match
push dword [ebx + 8]
call fcn.00415e09
pop ecx
pop ecx
test eax, eax
jne 0x4587cf
mov eax, dword [ebx + 0x14]
cmp dword [eax], 2
jne 0x4587cf
mov eax, dword [eax + 4]
mov ebx, dword [eax + 0x18]
cmp byte [ebx], 0x9a
jne 0x4587cf
mov ecx, dword [esp + 0x14]
mov eax, dword [eax]
mov edx, eax
mov dword [esp + 0x74], eax
lea ecx, [ecx + 0x44]
call fcn.004588a4
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x64], edx
mov edx, ebx
mov dword [esp + 0x68], eax
lea ecx, [ecx + 0x44]
call fcn.004588a4
and eax, dword [esp + 0x68]
and edx, dword [esp + 0x64]
or eax, edx
jne 0x4587cf
mov edx, dword [esp + 0x74]
xor edi, edi
mov ecx, dword [esp + 0x18]
push edi
push edi
call fcn.00437686
mov ecx, dword [esp + 0x18]
push edi
push eax
push edi
push 0x33
pop edx
call fcn.00437206
add esp, 0x14
mov edx, eax
mov ecx, esi
push 3
call fcn.00457433
mov edi, dword [esp + 0x2c]
mov edx, eax
mov eax, dword [esp + 0x6c]
imul esi, edx, 0x30
pop ecx
push 0x40
add esi, dword [edi + 0x14]
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x68]
mov dword [esi + 0x24], eax
mov ecx, dword [ebx + 0x1c]
mov dword [esi + 8], ecx
mov ecx, edi
movsx eax, word [ebx + 0x20]
mov dword [esi + 0xc], eax
pop eax
push dword [ebp + 8]
mov word [esi + 0x12], ax
call fcn.00457824
mov edi, dword [edi + 0x14]
add esp, 4
add edi, dword [esp + 0x2c]
push 8
pop eax
or word [edi + 0x14], ax
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x2c], eax
mov eax, dword [esp + 0x50]
or dword [edi + 0x20], eax
mov eax, dword [esp + 0x54]
or dword [edi + 0x24], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret