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

Disassembly:
cmp dword [0x4245f8], 0
je 0x41a4ae
jmp fcn.0041b67f
mov eax, dword [esp + 4]
cmp dword [eax + 0x34], 0x7fff
je 0x41a4c4
mov dword [esp + 4], eax
jmp fcn.0041b67f
mov dword [esp + 4], eax
jmp 0x41b160
mov edx, dword [esp + 4]
push ebp
push edi
push esi
push ebx
sub esp, 0x34
mov ebp, edx
mov edx, dword [ebp + 0x7c]
mov ebx, dword [ebp + 0x78]
cmp dword [ebp + 0x8c], ebx
ja 0x41b17e
shr edx, 2
inc edx
mov edi, dword [ebp + 0x90]
mov dword [esp + 0x30], edx
mov eax, dword [ebp + 0x74]
cmp eax, edi
jae 0x41b192
mov edi, eax
mov dword [esp + 0x28], ebx
mov esi, dword [ebp + 0x38]
mov ecx, dword [ebp + 0x6c]
mov dword [esp + 0x24], esi
mov dword [esp + 0x10], edi
add esi, ecx
mov dword [esp + 0xc], esi
mov dx, word [esi]
mov bx, word [ebx + esi - 1]
add esi, 0x101
mov word [esp + 0x1c], dx
mov dword [esp], esi
mov esi, dword [ebp + 0x2c]
sub esi, 0x106
sub ecx, esi
ja 0x41b1cf
xor ecx, ecx
mov dword [esp + 0x2c], ecx
mov edx, dword [ebp + 0x40]
mov dword [esp + 0x20], edx
mov edx, dword [ebp + 0x70]
mov bp, word [esp + 0x1c]
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x24]
mov edi, edx
add edi, dword [esp + 0x28]
mov esi, dword [esp + 0x20]
dec edi
mov dword [esp + 8], edi
jmp 0x41b24d
add dword [esp + 0x30], 0x10
je 0x41b5dc
cmp word [eax + edi], bx
je 0x41b22d
and eax, 0x7fff
mov ax, word [esi + eax*2]
cmp ecx, eax
jae 0x41b5dc
dec dword [esp + 0x30]
jne 0x41b20b
jmp 0x41b5dc
cmp bp, word [eax + edx]
jne 0x41b211
jmp 0x41b51b
mov edi, dword [esp + 8]
and eax, 0x7fff
mov ax, word [esi + eax*2]
cmp ecx, eax
jae 0x41b5dc
sub dword [esp + 0x30], 0x11
jbe 0x41b200
cmp word [eax + edi], bx
je 0x41b50a
and eax, 0x7fff
mov ax, word [esi + eax*2]
cmp ecx, eax
jae 0x41b5dc
cmp word [eax + edi], bx
je 0x41b4f9
and eax, 0x7fff
mov ax, word [esi + eax*2]
cmp ecx, eax
jae 0x41b5dc
cmp word [eax + edi], bx
je 0x41b4e8
and eax, 0x7fff
mov ax, word [esi + eax*2]
cmp ecx, eax
jae 0x41b5dc
cmp word [eax + edi], bx
je 0x41b4d7
and eax, 0x7fff
mov ax, word [esi + eax*2]
cmp ecx, eax
jae 0x41b5dc
cmp word [eax + edi], bx
je 0x41b4c6
and eax, 0x7fff
mov ax, word [esi + eax*2]
cmp ecx, eax
jae 0x41b5dc
cmp word [eax + edi], bx
je 0x41b4b5
and eax, 0x7fff
mov ax, word [esi + eax*2]
cmp ecx, eax
jae 0x41b5dc
cmp word [eax + edi], bx
je 0x41b4a4
and eax, 0x7fff
mov ax, word [esi + eax*2]
cmp ecx, eax
jae 0x41b5dc
cmp word [eax + edi], bx
je 0x41b490
and eax, 0x7fff
mov ax, word [esi + eax*2]
cmp ecx, eax
jae 0x41b5dc
cmp word [eax + edi], bx
je 0x41b47c
and eax, 0x7fff
mov ax, word [esi + eax*2]
cmp ecx, eax
jae 0x41b5dc
cmp word [eax + edi], bx
je 0x41b468
and eax, 0x7fff
mov ax, word [esi + eax*2]
cmp ecx, eax
jae 0x41b5dc
cmp word [eax + edi], bx
je 0x41b454
and eax, 0x7fff
mov ax, word [esi + eax*2]
cmp ecx, eax
jae 0x41b5dc
cmp word [eax + edi], bx
je 0x41b400
and eax, 0x7fff
mov ax, word [esi + eax*2]
cmp ecx, eax
jae 0x41b5dc
cmp word [eax + edi], bx
je 0x41b414
and eax, 0x7fff
mov ax, word [esi + eax*2]
cmp ecx, eax
jae 0x41b5dc
cmp word [eax + edi], bx
je 0x41b424
and eax, 0x7fff
mov ax, word [esi + eax*2]
cmp ecx, eax
jae 0x41b5dc
cmp word [eax + edi], bx
je 0x41b434
and eax, 0x7fff
mov ax, word [esi + eax*2]
cmp ecx, eax
jae 0x41b5dc
cmp word [eax + edi], bx
je 0x41b444
and eax, 0x7fff
mov ax, word [esi + eax*2]
cmp ecx, eax
jae 0x41b5dc
sub dword [esp + 0x30], 0x10
ja 0x41b254
jmp 0x41b200
cmp bp, word [eax + edx]
jne 0x41b383
add dword [esp + 0x30], 5
jmp 0x41b529
cmp bp, word [eax + edx]
jne 0x41b39a
add dword [esp + 0x30], 4
jmp 0x41b529
cmp bp, word [eax + edx]
jne 0x41b3b1
add dword [esp + 0x30], 3
jmp 0x41b529
cmp bp, word [eax + edx]
jne 0x41b3c8
add dword [esp + 0x30], 2
jmp 0x41b529
cmp bp, word [eax + edx]
jne 0x41b3df
add dword [esp + 0x30], 1
jmp 0x41b529
cmp bp, word [eax + edx]
jne 0x41b36c
add dword [esp + 0x30], 6
jmp 0x41b529
cmp bp, word [eax + edx]
jne 0x41b351
add dword [esp + 0x30], 7
jmp 0x41b529
cmp bp, word [eax + edx]
jne 0x41b336
add dword [esp + 0x30], 8
jmp 0x41b529
cmp bp, word [eax + edx]
jne 0x41b31b
add dword [esp + 0x30], 9
jmp 0x41b529
cmp bp, word [eax + edx]
jne 0x41b300
add dword [esp + 0x30], 0xa
jmp 0x41b529
cmp bp, word [eax + edx]
jne 0x41b2e5
add dword [esp + 0x30], 0xb
jmp 0x41b529
cmp bp, word [eax + edx]
jne 0x41b2ca
add dword [esp + 0x30], 0xc
jmp 0x41b529
cmp bp, word [eax + edx]
jne 0x41b2af
add dword [esp + 0x30], 0xd
jmp 0x41b529
cmp bp, word [eax + edx]
jne 0x41b294
add dword [esp + 0x30], 0xe
jmp 0x41b529
cmp bp, word [eax + edx]
jne 0x41b279
add dword [esp + 0x30], 0xf
jmp 0x41b529
cmp bp, word [eax + edx]
jne 0x41b25e
add dword [esp + 0x30], 0x10
jmp 0x41b529
mov edi, dword [esp + 0x24]
cmp bp, word [eax + edi]
jne 0x41b238
mov edi, edx
mov esi, dword [esp + 0xc]
add edi, eax
mov edx, dword [esi + 3]
xor edx, dword [edi + 3]
je 0x41b566
or dl, dl
je 0x41b544
mov esi, 3
jmp 0x41b595
or dx, dx
je 0x41b550
mov esi, 4
jmp 0x41b595
and edx, 0xffffff
je 0x41b55f
mov esi, 5
jmp 0x41b595
mov esi, 6
jmp 0x41b595
add edi, 6
add esi, 6
mov ecx, 0x3f
repe cmpsd dword [esi], dword es:[edi]
je 0x41b591
sub esi, 4
mov edx, dword [edi - 4]
xor edx, dword [esi]
or dl, dl
jne 0x41b591
inc esi
or dx, dx
jne 0x41b591
inc esi
and edx, 0xffffff
jne 0x41b591
inc esi
sub esi, dword [esp + 0xc]
cmp esi, dword [esp + 0x28]
ja 0x41b5ac
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
jmp 0x41b238
mov dword [esp + 0x28], esi
mov dword [esp + 4], eax
cmp esi, dword [esp + 0x10]
jae 0x41b5dc
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x24]
add ecx, esi
add esi, edx
dec esi
mov dword [esp + 8], esi
mov bx, word [ecx - 1]
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
jmp 0x41b238
mov ebx, dword [esp + 4]
mov ebp, dword [esp + 0x48]
mov ecx, dword [esp + 0x28]
mov dword [ebp + 0x70], ebx
mov eax, dword [ebp + 0x74]
cmp ecx, eax
ja 0x41b5f4
mov eax, ecx
add esp, 0x34
pop ebx
pop esi
pop edi
pop ebp
ret