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

Disassembly:
sub esp, 0x40
xor eax, eax
push ebp
mov ebp, dword [esp + 0x4c]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov eax, dword [ebp]
push edi
mov edi, dword [eax]
cmp byte [edi + 0x1e], 0
mov dword [esp + 0x50], eax
mov dword [esp + 8], edi
jne 0x57e2c4
mov eax, dword [esp + 0x54]
lea eax, [eax + eax*4]
add eax, eax
push ebx
mov ebx, dword [ebp + 0x1c]
add eax, eax
add eax, eax
add ebx, eax
push esi
mov esi, dword [ebx]
mov ecx, dword [esi + 8]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 4]
push ecx
push eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], esi
call fcn.0054ee90
mov dword [esp + 0x40], eax
movzx eax, byte [esi]
add esp, 8
cmp eax, 0x48
mov dword [esp + 0x3c], edx
mov dword [esp + 0x24], eax
jne 0x57dc90
test word [esi + 2], 0x800
je 0x57dc7a
mov edx, dword [esi + 0x10]
mov edi, dword [esp + 0x18]
push edx
call fcn.005471a0
mov edi, dword [esp + 0x14]
add esp, 4
jmp 0x57dcad
mov eax, dword [esp + 0x18]
mov esi, dword [esi + 0x10]
push eax
call fcn.0054ef70
mov esi, dword [esp + 0x18]
add esp, 4
jmp 0x57dcad
cmp eax, 0x49
jne 0x57dc9c
xor eax, eax
mov dword [ebx + 0x1c], eax
jmp 0x57dcb0
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x18]
push ecx
push edx
call fcn.0054ee90
add esp, 8
mov dword [ebx + 0x1c], edx
mov dword [ebx + 0x18], eax
mov eax, dword [esp + 0x18]
push esi
push eax
call fcn.0054ee90
add esp, 8
test byte [esi + 2], 1
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
je 0x57dcfa
movsx esi, word [esi + 0x20]
mov edx, dword [esp + 0x18]
call fcn.00547170
or dword [esp + 0x40], eax
or dword [esp + 0x44], edx
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
add eax, 0xffffffff
adc edx, 0xffffffff
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edx
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
or eax, 0xffffffff
mov dword [ebx + 8], eax
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x24]
mov dword [ebx + 0x20], ecx
xor ecx, ecx
cmp eax, 0x48
mov dword [ebx + 0x24], edx
mov word [ebx + 0x10], cx
je 0x57dd33
cmp eax, 0x4c
jl 0x57dd2a
cmp eax, 0x50
jle 0x57dd33
cmp eax, 0x49
jne 0x57de4c
mov ecx, dword [ebx + 0x18]
mov edx, dword [ebx + 0x1c]
and ecx, dword [esp + 0x38]
and edx, dword [esp + 0x3c]
or ecx, edx
jne 0x57de4a
mov ecx, dword [esi + 8]
cmp byte [ecx], 0x98
mov edx, dword [esi + 0xc]
mov dword [esp + 0x24], edx
jne 0x57dd72
mov edx, dword [ecx + 0x18]
mov dword [ebx + 8], edx
movsx ecx, word [ecx + 0x1c]
mov dword [ebx + 0xc], ecx
call fcn.00547300
mov edx, dword [esp + 0x24]
mov word [ebx + 0x10], ax
test edx, edx
je 0x57df6e
cmp byte [edx], 0x98
jne 0x57df6e
cmp dword [ebx + 8], 0
jl 0x57ddec
push 0
push 0
push esi
push edi
call fcn.0055a860
add esp, 0x10
cmp byte [edi + 0x1e], 0
mov esi, eax
je 0x57ddb1
push esi
push edi
call fcn.0054cef0
add esp, 8
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x40
ret
push 3
mov ebx, esi
mov edi, ebp
call fcn.0054ed70
add esp, 4
test eax, eax
je 0x57e2c2
mov ecx, dword [esp + 0x5c]
lea edx, [eax + eax*4]
mov eax, dword [ebp + 0x1c]
lea eax, [eax + edx*8]
mov dword [eax + 4], ecx
mov ebx, dword [ebp + 0x1c]
add ebx, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
or byte [ebx + 0x12], 8
mov byte [ebx + 0x13], 1
jmp 0x57ddf0
mov dword [esp + 0x24], ebx
mov edi, dword [esp + 0x58]
call fcn.00575740
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0x18]
mov edx, dword [esp + 0x24]
mov dword [edx + 8], ecx
movsx eax, word [eax + 0x1c]
mov ecx, dword [esp + 0x3c]
or ecx, dword [esp + 0x4c]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x38]
or eax, dword [esp + 0x48]
mov dword [edx + 0x1c], ecx
mov ecx, dword [esp + 0x40]
mov dword [edx + 0x18], eax
mov eax, dword [esp + 0x44]
mov dword [edx + 0x20], ecx
mov dword [edx + 0x24], eax
movzx eax, byte [esi]
call fcn.00547300
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
mov word [edx + 0x10], ax
jmp 0x57df6e
xor ecx, ecx
mov al, byte [esi]
cmp al, 0x47
jne 0x57df50
cmp byte [ebp + 0x10], 0x45
jne 0x57df50
mov edx, dword [esi + 0x10]
mov dword [esp + 0x34], edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
nop
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0xc]
mov edx, dword [esp + 0x24]
mov eax, dword [edx + ecx]
push 0
push 0
push eax
push edi
call fcn.0055a860
mov esi, dword [esi + 8]
push 0
push 0
push esi
push edi
mov ebx, eax
call fcn.0055a860
mov edx, dword [esp + 0x78]
mov esi, dword [edx]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x40]
movzx ecx, byte [eax + 0x607b20]
mov dword [esp + 0x58], ecx
add esp, 0x20
mov ecx, 0x30
call fcn.00549520
mov esi, eax
test esi, esi
je 0x57dee5
push 0x30
push 0
push esi
call fcn.005c0cf0
mov al, byte [esp + 0x44]
add esp, 0xc
mov byte [esi], al
mov word [esi + 0x1e], 0xffff
mov dword [esi + 0x2c], 1
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x40]
mov edi, ebx
mov ebx, dword [edx]
mov ecx, esi
call fcn.005526f0
push 3
mov ebx, esi
mov edi, ebp
call fcn.0054ed70
mov esi, eax
mov eax, dword [esp + 0x58]
push esi
push ebp
push eax
call fcn.0057dbe0
mov eax, dword [ebp + 0x1c]
mov ecx, dword [esp + 0x2c]
add dword [esp + 0x30], 1
mov edi, dword [esp + 0x20]
lea ebx, [ecx + eax]
mov ecx, dword [esp + 0x6c]
lea edx, [esi + esi*4]
mov esi, dword [esp + 0x24]
mov dword [eax + edx*8 + 4], ecx
mov eax, dword [esp + 0x34]
add eax, 0x14
add esp, 0x10
cmp eax, 0x28
mov dword [esp + 0x24], eax
jl 0x57de70
mov byte [ebx + 0x13], 2
jmp 0x57df6e
cmp al, 0x44
jne 0x57df6e
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x54]
push edx
push ebp
push eax
call fcn.0055ec70
mov ebx, dword [ebp + 0x1c]
add esp, 0xc
add ebx, dword [esp + 0x1c]
cmp byte [ebp + 0x10], 0x45
jne 0x57e15a
mov eax, dword [esp + 0x58]
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x2c]
push edx
push eax
lea edx, [esp + 0x3c]
mov eax, esi
call fcn.0057d9f0
add esp, 0xc
test eax, eax
je 0x57e15a
mov ecx, dword [esi + 0x10]
mov eax, dword [esp + 0x28]
mov edx, dword [ecx + 0xc]
mov ebx, dword [edx + 0x14]
push 0
push 0
push eax
push edi
mov dword [esp + 0x50], ebx
call fcn.0055a860
mov edx, dword [esp + 0x40]
add esp, 0x10
cmp byte [edi + 0x1e], 0
mov dword [esp + 0x34], eax
jne 0x57dff5
mov ecx, dword [eax + 4]
call fcn.0053eb20
test edx, edx
lea ecx, [eax + ecx - 1]
mov al, byte [ecx]
je 0x57dff1
cmp al, 0x40
jne 0x57dfe8
mov dword [esp + 0x2c], 0
movzx eax, al
mov al, byte [eax + 0x606cf8]
add al, 1
mov byte [ecx], al
test edx, edx
mov eax, str.NOCASE
jne 0x57e003
mov eax, str.BINARY
push 0
push eax
mov eax, edi
call fcn.005543e0
push 0
push 0
mov esi, eax
push ebx
push edi
mov dword [esp + 0x50], esi
call fcn.0055a860
mov ebx, eax
add esp, 0x18
test ebx, ebx
je 0x57e034
test esi, esi
je 0x57e034
or word [ebx + 2], 0x100
mov dword [ebx + 0x14], esi
mov ecx, dword [esp + 0x58]
mov esi, dword [ecx]
mov ecx, 0x30
call fcn.00549520
mov esi, eax
test esi, esi
je 0x57e067
push 0x30
push 0
push esi
call fcn.005c0cf0
add esp, 0xc
mov byte [esi], 0x50
mov word [esi + 0x1e], 0xffff
mov dword [esi + 0x2c], 1
mov edx, dword [esp + 0x58]
mov edi, dword [esp + 0x28]
mov eax, ebx
mov ebx, dword [edx]
mov ecx, esi
call fcn.005526f0
push 3
mov ebx, esi
mov edi, ebp
call fcn.0054ed70
push eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x5c]
push ebp
push eax
call fcn.0057dbe0
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x20]
push 0
push 0
push ecx
push edx
call fcn.0055a860
mov ebx, eax
add esp, 0x20
test ebx, ebx
je 0x57e0c2
mov eax, dword [esp + 0x38]
test eax, eax
je 0x57e0c2
or word [ebx + 2], 0x100
mov dword [ebx + 0x14], eax
mov eax, dword [esp + 0x58]
mov esi, dword [eax]
mov ecx, 0x30
call fcn.00549520
mov esi, eax
test esi, esi
je 0x57e0f5
push 0x30
push 0
push esi
call fcn.005c0cf0
add esp, 0xc
mov byte [esi], 0x4f
mov word [esi + 0x1e], 0xffff
mov dword [esi + 0x2c], 1
mov edx, dword [esp + 0x58]
mov edi, dword [esp + 0x34]
mov eax, ebx
mov ebx, dword [edx]
mov ecx, esi
call fcn.005526f0
push 3
mov ebx, esi
mov edi, ebp
call fcn.0054ed70
mov esi, eax
mov eax, dword [esp + 0x58]
push esi
push ebp
push eax
call fcn.0057dbe0
mov ebx, dword [ebp + 0x1c]
add ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0x20]
add esp, 0x10
cmp dword [esp + 0x2c], 0
je 0x57e156
mov eax, dword [esp + 0x30]
mov edx, dword [ebp + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x5c]
mov dword [edx + ecx*8 + 4], eax
mov edx, dword [ebp + 0x1c]
lea ecx, [esi + esi*4]
mov dword [edx + ecx*8 + 4], eax
mov byte [ebx + 0x13], 2
mov esi, dword [esp + 0x14]
cmp byte [esi], 0x97
jne 0x57e2b4
mov ecx, dword [esi + 4]
mov edx, str.match
call fcn.0053ec00
test eax, eax
jne 0x57e2b4
mov eax, dword [esi + 0x10]
cmp dword [eax], 2
jne 0x57e2b4
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0x14]
cmp byte [ecx], 0x98
jne 0x57e2b4
mov edx, dword [esi + 0x10]
mov eax, dword [edx + 0xc]
mov esi, dword [eax]
mov ecx, dword [esp + 0x18]
mov eax, dword [eax + 0x14]
push esi
push ecx
mov dword [esp + 0x38], eax
call fcn.0054ee90
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x20]
push edx
push eax
call fcn.0054ee90
and eax, dword [esp + 0x50]
and edx, dword [esp + 0x54]
add esp, 0x10
or eax, edx
jne 0x57e2b4
push eax
push eax
push esi
push edi
call fcn.0055a860
mov ecx, dword [esp + 0x68]
mov esi, dword [ecx]
add esp, 0x10
mov ecx, 0x30
mov edi, eax
call fcn.00549520
mov esi, eax
test esi, esi
je 0x57e218
push 0x30
push 0
push esi
call fcn.005c0cf0
add esp, 0xc
mov byte [esi], 0x32
mov word [esi + 0x1e], 0xffff
mov dword [esi + 0x2c], 1
test esi, esi
mov edx, dword [esp + 0x58]
mov ebx, dword [edx]
jne 0x57e235
push esi
push ebx
call fcn.0054cef0
push edi
push ebx
call fcn.0054cef0
add esp, 0x10
jmp 0x57e256
test edi, edi
je 0x57e251
mov eax, pe_nt_image_headers32
mov dword [esi + 0xc], edi
test word [edi + 2], ax
je 0x57e251
or word [esi + 2], ax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x14], eax
call fcn.00544f00
push 3
mov ebx, esi
mov edi, ebp
call fcn.0054ed70
mov edx, dword [ebp + 0x1c]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*8]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov dword [eax + 0x18], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 0x1c], edx
mov edx, dword [ecx + 0x18]
mov dword [eax + 8], edx
movsx ecx, word [ecx + 0x1c]
mov edx, dword [esp + 0x60]
mov dword [eax + 0xc], ecx
mov word [eax + 0x10], 0x40
mov dword [eax + 4], edx
mov ebx, dword [ebp + 0x1c]
add ebx, dword [esp + 0x20]
add esp, 4
mov ecx, dword [ebx + 0x20]
or byte [ebx + 0x12], 8
mov byte [ebx + 0x13], 1
mov dword [eax + 0x20], ecx
mov edx, dword [ebx + 0x24]
mov dword [eax + 0x24], edx
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
or dword [ebx + 0x18], eax
or dword [ebx + 0x1c], ecx
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x40
ret