Function at 0x61053d20
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x5c
test edx, edx
mov dword [ebp - 0x34], eax
mov ebx, ecx
mov dword [ebp - 0x38], edx
je 0x61053d60
mov dword [esp], 0
call sub.KERNEL32.dll_GetModuleHandleA
mov dword [ebp - 0x3c], eax
sub esp, 4
mov edx, dword [ebp - 0x3c]
xor eax, eax
cmp word [edx], 0x5a4d
je 0x61053d6d
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x34]
cmp word [eax], 0x5a4d
mov dword [ebp - 0x3c], eax
jne 0x61053d7d
mov edx, dword [ebp - 0x3c]
mov ecx, dword [edx + 0x3c]
add edx, ecx
cmp dword [edx], 0x4550
je 0x61053d87
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
test edx, edx
je 0x61053d7d
movzx eax, word [edx + 0x5c]
mov ecx, dword [edx + 0x80]
mov word [ebx], ax
xor eax, eax
test ecx, ecx
je 0x61053d53
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x61053fd5
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
sub ecx, eax
lea ebx, [ecx + edx]
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x24], eax
mov dword [esp], edx
call sym.cygwin1.dll__strlen
add eax, 0x22
and eax, 0xfffffff0
call sym.cygwin1.dll__alloca
lea eax, [esp + 0x17]
and eax, 0xfffffff0
mov dword [ebp - 0x30], eax
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x61053e45
nop
mov eax, dword [ebp - 0x40]
mov edi, 0x611267a4
mov esi, dword [ebx + 0xc]
sub esi, eax
mov eax, dword [ebp - 0x3c]
add esi, eax
cld
and eax, 0xff
lodsb al, byte [esi]
scasb al, byte es:[edi]
je 0x61053e17
xor al, byte [eax + 0x61108b40]
cmp al, byte [edi - 1]
jne 0x61053e22
test al, al
jne 0x61053e08
mov eax, 1
jmp 0x61053e24
xor eax, eax
test eax, eax
jne 0x61053ee6
add ebx, 0x14
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x61053df0
lea esi, [esi]
lea edi, [edi]
mov eax, dword [ebp - 0x20]
jmp 0x61053e50
xor eax, eax
mov esi, esi
lea edi, [edi]
test eax, eax
jne 0x61053d53
mov dword [esp], 0xffffffff
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x30]
call sym.makename_char_const__char__int__int_
mov dword [ebp - 0x28], eax
test eax, eax
je 0x61053fbd
mov ebx, dword [0x6110853c]
cmp word [ebx], 0x5a4d
jne 0x61053e40
mov eax, dword [ebx + 0x3c]
add eax, ebx
cmp dword [eax], 0x4550
jne 0x61053e40
cmp word [eax + 0x14], 0
je 0x61053e40
mov edi, dword [eax + 0x78]
add edi, ebx
je 0x61053e40
mov eax, dword [edi + 0x20]
xor esi, esi
mov edx, dword [edi + 0x1c]
add eax, ebx
add edx, ebx
mov dword [ebp - 0x4c], eax
mov eax, dword [edi + 0x18]
mov dword [ebp - 0x48], edx
test eax, eax
je 0x61053e40
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + esi*4]
add eax, ebx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
call sym.cygwin1.dll__strcmp
test eax, eax
je 0x61054020
inc esi
cmp dword [edi + 0x18], esi
ja 0x61053eb9
mov eax, dword [ebp - 0x20]
jmp 0x61053e50
mov esi, dword [ebp - 0x38]
test esi, esi
je 0x6105403d
mov dword [ebp - 0x2c], 0xffffffff
nop
lea esi, [esi]
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x61053e50
mov dword [esp], 1
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x30]
call sym.makename_char_const__char__int__int_
mov dword [ebp - 0x28], eax
test eax, eax
je 0x61053fc5
mov eax, dword [ebx]
test eax, eax
je 0x61053f00
mov edx, dword [ebp - 0x3c]
mov ecx, dword [ebx + 0x10]
mov edi, edx
lea esi, [eax + edx]
add edi, ecx
jmp 0x61053f46
add edi, 4
add esi, 4
mov eax, dword [esi]
test eax, eax
je 0x61053f00
test eax, eax
js 0x61053f40
mov edx, dword [ebp - 0x3c]
lea eax, [eax + edx + 2]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
call sym.cygwin1.dll__strcmp
test eax, eax
jne 0x61053f40
mov edx, dword [ebp - 0x24]
mov eax, edi
call sym.putmem__IMAGE_THUNK_DATA32__void_const_
mov dword [ebp - 0x20], eax
test eax, eax
je 0x61053f00
mov esi, dword [0x61106ec4]
add esi, 0x2c0
mov eax, dword [esi + 8]
test eax, eax
je 0x61053f97
mov esi, eax
mov eax, dword [esi + 8]
test eax, eax
jne 0x61053f8e
mov edx, 0xc
mov eax, 0xa
call sym._cmalloc_8
mov dword [esi + 8], eax
mov edx, dword [ebp - 0x24]
mov dword [eax], edi
mov dword [eax + 8], 0
mov dword [eax + 4], edx
jmp 0x61053f00
mov eax, dword [ebp - 0x20]
jmp 0x61053d53
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x61053e2c
jmp 0x61053e50
movzx eax, word [edx + 6]
xor edi, edi
lea esi, [edx + 0xf8]
cmp eax, 0
jle 0x61054006
mov dword [ebp - 0x44], eax
xor ebx, ebx
mov edx, dword [ebx + esi + 0xc]
cmp edx, ecx
ja 0x61053ffd
mov eax, edx
add eax, dword [ebx + esi + 8]
cmp eax, ecx
ja 0x61054033
inc edi
add ebx, 0x28
cmp dword [ebp - 0x44], edi
jg 0x61053feb
mov eax, 0xffffffff
mov dword [ebp - 0x40], eax
mov edx, dword [ebp - 0x40]
xor eax, eax
test edx, edx
jns 0x61053db0
jmp 0x61053d53
mov eax, dword [ebp - 0x48]
mov edx, dword [eax + esi*4]
add ebx, edx
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp - 0x20]
jmp 0x61053e50
mov edi, dword [ebx + esi + 0x14]
mov eax, edx
sub eax, edi
jmp 0x6105400b
mov eax, str.found_it
jmp 0x61053d53