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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [esi]
mov eax, dword [edi + 4]
mov edx, dword [edi + 8]
mov dword [ebp - 0x18], eax
mov ecx, dword [eax + 0x14]
mov ebx, dword [edx + 0x94]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0xc]
xor edx, edx
cmp ecx, dword [esi + 0x24]
mov dword [ebp + 8], edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], edx
jne 0x41a019
xor eax, eax
mov ax, word [esi + 0x20]
cmp eax, 0x16
je 0x419fe3
cmp eax, 0x20
je 0x419fc9
cmp eax, 0x26
jne 0x41a370
mov eax, dword [esi + 0x2c]
mov si, word [esi + 0xc]
mov edx, 3
cmp si, 0x3a
mov dword [ebp + 8], eax
mov dword [ebp - 8], edx
jne 0x419fb7
mov dword [ebp - 4], 0
jmp 0x41a370
xor ecx, ecx
cmp si, 0x26
setne cl
inc ecx
mov dword [ebp - 4], ecx
jmp 0x41a370
mov edx, dword [esi + 0x30]
mov dword [ebp - 4], 0
mov dword [ebp + 8], edx
mov edx, 1
mov dword [ebp - 8], edx
jmp 0x41a370
mov eax, dword [esi + 0x28]
mov si, word [esi + 0xc]
mov edx, 3
cmp si, 0x3a
mov dword [ebp + 8], eax
mov dword [ebp - 8], edx
jne 0x41a007
mov dword [ebp - 4], 0
jmp 0x41a370
xor ecx, ecx
cmp si, 0x44
setne cl
inc ecx
mov dword [ebp - 4], ecx
jmp 0x41a370
cmp ecx, dword [esi + 0x34]
jne 0x41a0ee
mov edx, dword [esi + 0x38]
push edx
push eax
call sub.ifcom60.dll_Ordinal_942
mov ax, word [esi + 0xc]
add esp, 8
xor ebx, ebx
cmp ax, 0x44
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
jne 0x41a069
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 4]
push eax
lea edx, [ebp - 8]
push ecx
mov ecx, dword [esi + 0x18]
lea eax, [esi + 0x40]
push edx
mov edx, dword [esi + 0x44]
push eax
push ecx
push edx
push edi
call fcn.0041aae0
add esp, 0x1c
mov dword [ebp + 8], eax
push 1
jmp 0x41a0ce
cmp ax, 0x2a
jne 0x41a0cd
mov ecx, dword [ebp + 0x10]
lea edx, [ebp - 4]
push ecx
mov ecx, dword [esi + 0x18]
push ebx
push ebx
lea eax, [ebp - 8]
push edx
mov edx, dword [esi + 0x44]
push eax
push ecx
push 0x28
push edx
push edi
call sub.ifdig60.dll_Ordinal_463_1
add esp, 0x24
cmp eax, ebx
mov dword [ebp + 8], eax
jne 0x41a0c3
lea eax, [ebp + 8]
lea ecx, [ebp - 0xc]
push eax
push 1
push ecx
push edi
mov dword [ebp - 0xc], 0x581
call fcn.00417910
add esp, 0x10
test eax, eax
jne 0x41a400
mov dword [ebp - 8], 1
mov dword [ebp - 4], ebx
mov edx, dword [esi + 0x34]
push 1
push 8
push edx
jmp 0x41a0d4
push ebx
mov eax, dword [esi + 0x34]
push 8
push eax
push edi
call fcn.00422690
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
add esp, 0x10
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], edx
jmp 0x41a370
cmp ecx, dword [esi + 0x4c]
jne 0x41a1d9
mov edx, dword [esi + 0x50]
push edx
push eax
call sub.ifcom60.dll_Ordinal_942
mov eax, dword [esi + 0x44]
xor ebx, ebx
add esp, 8
cmp eax, ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
je 0x41a1b8
mov ax, word [esi + 0xc]
cmp ax, 0x2a
je 0x41a1b8
cmp ax, 0x44
jne 0x41a1c8
mov ax, word [esi + 0x48]
cmp ax, 7
jne 0x41a17c
push 0x57e
push edi
call sub.ifdig60.dll_Ordinal_239_1
add esp, 8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x14]
push eax
push 1
lea edx, [ebp - 4]
push ecx
mov ecx, dword [esi + 0x44]
lea eax, [ebp - 8]
push edx
mov edx, dword [esi + 0x58]
push eax
push ecx
push 0x1e
push edx
push edi
call sub.ifdig60.dll_Ordinal_463_1
mov edx, dword [esi + 0x4c]
add esp, 0x24
mov dword [ebp + 8], eax
push 1
push 8
push edx
jmp 0x41a1bf
cmp ax, 0x3c
jne 0x41a1ae
lea eax, [ebp + 8]
lea ecx, [ebp - 0xc]
push eax
push 1
push ecx
push edi
mov dword [ebp - 0xc], 0x580
call fcn.00417910
add esp, 0x10
test eax, eax
jne 0x41a400
mov dword [ebp - 8], 1
mov dword [ebp - 4], ebx
mov edx, dword [esi + 0x4c]
push 1
push 8
push edx
jmp 0x41a1bf
mov eax, dword [esi + 0x4c]
push ebx
push 8
push eax
push edi
call fcn.00422690
add esp, 0x10
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov dword [esi + 0x50], ecx
mov dword [esi + 0x54], edx
jmp 0x41a370
cmp ecx, dword [esi + 0x5c]
jne 0x41a370
mov edx, dword [esi + 0x6c]
xor ecx, ecx
cmp edx, ecx
je 0x41a226
mov edx, dword [esi + 0x64]
mov dword [esi + 0x6c], ecx
cmp edx, ecx
mov dword [ebp - 0x14], ecx
jbe 0x41a226
mov dword [ebp - 0x10], ecx
mov edx, dword [esi + 0x60]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + edx]
push ecx
push ebx
call dword [ebx + 0x18]
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov ecx, dword [esi + 0x64]
add esp, 8
inc eax
add edx, 0xc
cmp eax, ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
jb 0x41a1fb
mov eax, dword [ebp - 0x18]
mov edx, dword [esi + 0x60]
push edx
push eax
call sub.ifcom60.dll_Ordinal_942
mov cx, word [esi + 0xc]
add esp, 8
xor ebx, ebx
cmp cx, 0x44
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
jne 0x41a298
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x41a298
mov ecx, dword [ebp + 0x10]
lea edx, [ebp - 4]
push ecx
lea ecx, [ebp - 8]
push edx
mov edx, dword [esi + 8]
push ecx
push eax
push edx
push edi
call fcn.0041ac70
add esp, 0x18
cmp eax, ebx
mov dword [ebp + 8], eax
jne 0x41a353
lea eax, [ebp + 8]
lea ecx, [ebp - 0xc]
push eax
push 1
push ecx
push edi
mov dword [ebp - 0xc], 0x581
call fcn.00417910
add esp, 0x10
test eax, eax
jne 0x41a400
jmp 0x41a349
cmp cx, 0x3a
jne 0x41a2f9
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 4]
push eax
lea edx, [ebp - 8]
push ecx
mov ecx, dword [esi + 0x1c]
lea eax, [esi + 0x78]
push edx
mov edx, dword [esi + 8]
push eax
push ecx
push edx
push esi
push edi
call fcn.0041b050
add esp, 0x20
mov ebx, 1
test eax, eax
mov dword [ebp + 8], eax
mov dword [esi + 0x6c], ebx
jne 0x41a2f6
lea eax, [ebp + 8]
lea ecx, [ebp - 0xc]
push eax
push ebx
push ecx
push edi
mov dword [ebp - 0xc], 0x581
call fcn.00417910
add esp, 0x10
test eax, eax
jne 0x41a400
mov dword [ebp - 8], ebx
mov dword [ebp - 4], eax
push ebx
jmp 0x41a355
cmp cx, 0x2a
jne 0x41a364
mov eax, dword [esi + 0x44]
cmp eax, ebx
je 0x41a364
mov ecx, dword [ebp + 0x10]
lea edx, [ebp - 4]
push ecx
lea ecx, [ebp - 8]
push edx
mov edx, dword [esi + 8]
push ecx
push eax
push edx
push edi
call fcn.0041ac70
add esp, 0x18
cmp eax, ebx
mov dword [ebp + 8], eax
jne 0x41a353
lea eax, [ebp + 8]
lea ecx, [ebp - 0xc]
push eax
push 1
push ecx
push edi
mov dword [ebp - 0xc], 0x581
call fcn.00417910
add esp, 0x10
test eax, eax
jne 0x41a400
mov dword [ebp - 8], 1
mov dword [ebp - 4], ebx
push 1
mov edx, dword [esi + 0x5c]
push 8
push edx
push edi
call fcn.00422690
add esp, 0x10
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], edx
test edx, edx
je 0x41a3dc
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x54], 3
test eax, eax
je 0x41a3d4
xor edi, edi
test edx, edx
jbe 0x41a3d4
mov ecx, dword [ebp + 8]
mov dword [ebp + 0x10], ecx
mov eax, dword [ebp + 0x10]
mov esi, dword [eax]
mov eax, dword [ebp + 0x14]
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [esi]
jne 0x41a3ba
test cl, cl
je 0x41a3b6
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [esi + 1]
jne 0x41a3ba
add eax, 2
add esi, 2
test cl, cl
jne 0x41a396
xor eax, eax
jmp 0x41a3bf
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x41a3c6
mov dword [ebp - 4], edi
mov ecx, dword [ebp + 0x10]
inc edi
add ecx, 0xc
cmp edi, edx
mov dword [ebp + 0x10], ecx
jb 0x41a38e
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x48], ecx
jmp 0x41a3e3
mov dword [ebp - 0x54], 1
mov eax, dword [ebp + 8]
mov dword [ebp - 0x50], edx
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x1c]
push ecx
push edx
push eax
call sub.UIW60.dll_Ordinal_1256
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret