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

Disassembly:
push edx
push edi
add esp, 4
and edx, 0x11ad6
sub edx, 0x16290
pop edx
push ecx
jmp 0x409295
and ecx, 0x11e62
pop ecx
mov dword [ebp - 0xc94], ecx
mov edx, dword [ebp - 0x504]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0xc90], eax
xor ecx, ecx
mov word [ebp - 0x210], cx
xor edx, edx
mov word [ebp - 0x10c], dx
push edx
push ecx
add esp, 4
and edx, 0x6327
xor edx, 0xeedd
pop edx
push edx
sub edx, 0xa6ae
pop edx
push edi
push ecx
add esp, 4
and edi, 0x87a7
add edi, 0x1ee
add edi, 0x18040
pop edi
mov eax, dword [ebp - 0xc90]
mov cx, word [eax]
mov word [ebp - 0x1032], cx
mov edx, dword [ebp - 0xc90]
add edx, 2
mov dword [ebp - 0xc90], edx
mov ax, word [ebp - 0x1032]
mov word [ebp - 0x210], ax
mov ecx, dword [ebp - 0xc94]
mov dx, word [ecx]
mov word [ebp - 0x1034], dx
mov eax, dword [ebp - 0xc94]
add eax, 2
mov dword [ebp - 0xc94], eax
mov cx, word [ebp - 0x1034]
mov word [ebp - 0x10c], cx
push edi
push edi
add esp, 4
or edi, 0x9e8f
jmp 0x40937a
pop edi
push ecx
push edx
add esp, 4
and ecx, 0x6bb9
sub ecx, 0xb96b
and ecx, 0xdc2b
add ecx, 0x81da
pop ecx
movzx edx, word [ebp - 0x10c]
test edx, edx
jne 0x4093bc
movzx eax, word [ebp - 0x210]
movzx ecx, word [ebp - 0x10c]
sub eax, ecx
mov dword [ebp - 0x15e0], eax
jmp 0x40941f
movzx edx, word [ebp - 0x210]
movzx eax, word [ebp - 0x10c]
cmp edx, eax
cmp dword [ebp - 0x15e0], 0
jne 0x409468
push edx
jmp 0x40942f
or edx, 0xdb83
pop edx
push esi
push edi
add esp, 4
or esi, 0x133d3
pop esi
push esi
push edi
add esp, 4
and esi, 0x1779f
and esi, 0x1017e
sub esi, 0xd8cb
pop esi
mov eax, dword [ebp - 0x504]
mov dword [ebp - 0x31c], eax
jmp 0x4094d0
push edi
push edi
add esp, 4
and edi, 0x1422f
add edi, 0x3fde
or edi, 0x7b6f
pop edi
push eax
or eax, 0x3c02
call 0x409496
add byte [ecx + 0x46], al
dec eax
dec eax
cmp dword [edx + 0x40], ecx
xor eax, 0x4c48343
pop eax
mov ecx, dword [ebp - 0x504]
mov edx, dword [ecx]
mov dword [ebp - 0x504], edx
mov eax, dword [ebp - 0x504]
cmp eax, dword [ebp - 0xc98]
je 0x4094c6
mov ecx, dword [ebp - 0x504]
cmp dword [ecx + 0x30], 0
jne 0x40927c
mov dword [ebp - 0x31c], 0
push edi
call 0x4094de
add byte [edi + 0x34], cl
dec esi
dec edi
inc ecx
aas
xor eax, 0x5f04c483
push eax
xor eax, 0x5f9e
pop eax
push edi
push eax
add esp, 4
and edi, 0x49f4
add edi, 0x17f7b
xor edi, 0x5d80
pop edi
cmp dword [ebp - 0x31c], 0
jne 0x409e1b
mov edx, 0x6b
mov word [ebp - 0x1774], dx
mov eax, 0x65
mov word [ebp - 0x1772], ax
mov ecx, 0x72
mov word [ebp - 0x1770], cx
mov edx, 0x6e
mov word [ebp - 0x176e], dx
mov eax, 0x65
mov word [ebp - 0x176c], ax
mov ecx, 0x6c
mov word [ebp - 0x176a], cx
mov edx, 0x33
mov word [ebp - 0x1768], dx
mov eax, 0x32
mov word [ebp - 0x1766], ax
mov ecx, 0x2e
mov word [ebp - 0x1764], cx
mov edx, 0x64
mov word [ebp - 0x1762], dx
mov eax, 0x6c
mov word [ebp - 0x1760], ax
mov ecx, 0x6c
mov word [ebp - 0x175e], cx
xor edx, edx
mov word [ebp - 0x175c], dx
push eax
xor eax, 0x4d66
sub eax, 0x15849
xor eax, 0xbed7
pop eax
push edx
push ebx
add esp, 4
and edx, 0x8919
jmp 0x4095d0
jmp 0x4095d9
pop edx
mov byte [ebp - 0x894], 0x4c
mov byte [ebp - 0x893], 0x6f
mov byte [ebp - 0x892], 0x61
mov byte [ebp - 0x891], 0x64
mov byte [ebp - 0x890], 0x4c
mov byte [ebp - 0x88f], 0x69
mov byte [ebp - 0x88e], 0x62
mov byte [ebp - 0x88d], 0x72
mov byte [ebp - 0x88c], 0x61
mov byte [ebp - 0x88b], 0x72
mov byte [ebp - 0x88a], 0x79
mov byte [ebp - 0x889], 0x57
mov byte [ebp - 0x888], 0
mov eax, dword fs:[0x18]
mov dword [ebp - 0x195c], eax
mov ecx, dword [ebp - 0x195c]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0x1960], edx
mov eax, dword [ebp - 0x1960]
mov dword [ebp - 0x15e4], eax
push edx
and edx, 0xf3b7
pop edx
push edi
push edx
add esp, 4
xor edi, 0x17cb9
call 0x40967c
add byte [esi], dh
cmp eax, 0x3d4b404e
inc ecx
add esp, 4
sub edi, 0x7e30
jmp 0x40968d
pop edi
cmp dword [ebp - 0x15e4], 0
jne 0x4096a6
mov dword [ebp - 0x750], 0
jmp 0x409962
mov ecx, dword [ebp - 0x15e4]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0xca4], eax
push edi
push esi
add esp, 4
and edi, 0x9249
sub edi, 0x5e01
jmp 0x4096ce
pop edi
push esi
jmp 0x4096d7
add esi, 0x1565a
or esi, 0x9e79
xor esi, 0x1092e
pop esi
cmp dword [ebp - 0xca4], 0
jne 0x409702
mov dword [ebp - 0x750], 0
jmp 0x409962
mov ecx, dword [ebp - 0xca4]
mov dword [ebp - 0x508], ecx
push edx
jmp 0x409718
jmp 0x409721
pop edx
push edi
push esi
add esp, 4
and edi, 0x9a2b
or edi, 0xca73
and edi, 0x89a
add edi, 0x16b9f
pop edi
lea edx, [ebp - 0x1774]
mov dword [ebp - 0xca0], edx
mov eax, dword [ebp - 0x508]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0xc9c], ecx
xor edx, edx
mov word [ebp - 0x214], dx
xor eax, eax
mov word [ebp - 0x110], ax
push esi
xor esi, 0x10c74
or esi, 0x8a67
call 0x409787
add byte [edi], bh
dec ebx
dec ecx
dec esi
inc ebx
aas
inc ecx
add esp, 4
pop esi
push esi
sub esi, 0x14906
pop esi
push eax
push eax
add esp, 4
or eax, 0x180b
pop eax
mov ecx, dword [ebp - 0xc9c]
mov dx, word [ecx]
mov word [ebp - 0x1036], dx
mov eax, dword [ebp - 0xc9c]
add eax, 2
mov dword [ebp - 0xc9c], eax
mov cx, word [ebp - 0x1036]
mov word [ebp - 0x214], cx
mov edx, dword [ebp - 0xca0]
mov ax, word [edx]
mov word [ebp - 0x1038], ax
mov ecx, dword [ebp - 0xca0]
add ecx, 2
mov dword [ebp - 0xca0], ecx
mov dx, word [ebp - 0x1038]
mov word [ebp - 0x110], dx
push esi
and esi, 0x12989
add esi, 0x5be5
pop esi
push edi
call 0x409816
add byte [0x4248453b], dh
cmp eax, dword [edi + 0x37]
add esp, 4
call 0x409827
add byte [esi + 0x38], cl
dec edi
cmp al, byte [eax + 0x37]
xor al, 0x4f
add esp, 4
pop edi
movzx eax, word [ebp - 0x110]
test eax, eax
jne 0x40984e
movzx ecx, word [ebp - 0x214]
movzx edx, word [ebp - 0x110]
sub ecx, edx
mov dword [ebp - 0x15ec], ecx
jmp 0x4098b1
movzx eax, word [ebp - 0x214]
movzx ecx, word [ebp - 0x110]
cmp eax, ecx
je 0x40976d
movzx edx, word [ebp - 0x214]
xor edx, 0x20
movzx eax, word [ebp - 0x110]
cmp edx, eax
je 0x40976d
movzx ecx, word [ebp - 0x214]
movzx edx, word [ebp - 0x110]
cmp ecx, edx
jge 0x40989b
mov dword [ebp - 0x15e8], 0xffffffff
jmp 0x4098a5
mov dword [ebp - 0x15e8], 1
mov eax, dword [ebp - 0x15e8]
mov dword [ebp - 0x15ec], eax
cmp dword [ebp - 0x15ec], 0
jne 0x4098fa
push esi
or esi, 0x8515
call 0x4098d0
add byte [eax], al
add byte [edi], dh
dec ebp
cmp ecx, dword [edi + 0x4a]
inc esp
dec ebp
inc ebx
xor eax, dword [ebx + 0x565e04c4]
sub esi, 0xeabc
call 0x4098e8
add byte [0x4a4c3446], bh
push eax
cmp al, byte [ebx - 0x74a1fb3c]
invalid
push ebx
and ebx, 0xab96
pop ebx
push ecx
call 0x409911
add byte [ebx], bh
inc ebp
cmp byte [eax + eax*2], dh
dec eax
cmp byte [ebx - 0x7d], al
les eax, [ecx + eax*4]
jmp 0x41834a
push eax
push ecx
add esp, 4
xor eax, 0x7485
sub eax, 0x177f8
or eax, 0x15d54
pop eax
push edi
add edi, 0xf8ad
add edi, 0x10273
invalid
push eax
sub eax, 0xc05a
pop eax
push esi
xor esi, 0x32d4
call 0x409e36
add byte [edx], bh
cmp dword [ebx], edi
inc esp
cmp edi, dword [ebx + eax*4]
les eax, [ebx + ebp*8]
add ecx, dword [edx + 0x4a]
or esi, 0x9304
pop esi
push edx
or edx, 0x13dae
pop edx
mov eax, dword fs:[0x18]
mov dword [ebp - 0x197c], eax
mov ecx, dword [ebp - 0x197c]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0x1980], edx
mov eax, dword [ebp - 0x1980]
mov dword [ebp - 0x15fc], eax
push edx
push edx
add esp, 4
jmp 0x409e81
sub edx, 0x1397f
or edx, 0x5385
add edx, 0x4ad2
pop edx
push ecx
call 0x409ea2
add byte [ebp + 0x44], cl
push eax
xor edi, dword [esi]
inc eax
xor eax, 0x5904c483
cmp dword [ebp - 0x15fc], 0
jne 0x409ebe
mov dword [ebp - 0x31c], 0
jmp 0x40a165
mov ecx, dword [ebp - 0x15fc]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0xcb4], eax
push ebx
push edi
add esp, 4
add ebx, 0x144ff
and ebx, 0x157f7
pop ebx
push ecx
push ecx
add esp, 4
or ecx, 0x354
jmp 0x409ef5
add ecx, 0x3a74
xor ecx, 0x1520d
pop ecx
cmp dword [ebp - 0xcb4], 0
jne 0x409f1a
mov dword [ebp - 0x31c], 0
jmp 0x40a165
mov ecx, dword [ebp - 0xcb4]
mov dword [ebp - 0x50c], ecx
push edx
push ebx
add esp, 4
xor edx, 0x479f
xor edx, 0x1691d
pop edx
push eax
jmp 0x409f41
pop eax
push eax
sub eax, 0x19c0
sub eax, 0xf388
pop eax
push edx
sub edx, 0x1606d
pop edx
lea edx, [ebp - 0x1738]
mov dword [ebp - 0xcb0], edx
mov eax, dword [ebp - 0x50c]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0xcac], ecx
xor edx, edx
mov word [ebp - 0x218], dx
xor eax, eax
mov word [ebp - 0x34], ax
push ebx
jmp 0x409f8c
jmp 0x409f93
xor ebx, 0x5ac6
and ebx, 0xe57e
pop ebx
push ecx
xor ecx, 0x7eb8
and ecx, 0x16351
sub ecx, 0x1332c
pop ecx
mov ecx, dword [ebp - 0xcac]
mov dx, word [ecx]
mov word [ebp - 0x103a], dx
mov eax, dword [ebp - 0xcac]
add eax, 2
mov dword [ebp - 0xcac], eax
mov cx, word [ebp - 0x103a]
mov word [ebp - 0x218], cx
mov edx, dword [ebp - 0xcb0]
mov ax, word [edx]
mov word [ebp - 0x103c], ax
mov ecx, dword [ebp - 0xcb0]
add ecx, 2
mov dword [ebp - 0xcb0], ecx
mov dx, word [ebp - 0x103c]
mov word [ebp - 0x34], dx
push eax
push ecx
add esp, 4
or eax, 0xc6a1
or eax, 0x143e7
or eax, 0x172f9
or eax, 0x12bf8
push edx
push ebx
add esp, 4
add edx, 0x19e5
add edx, 0x1ed3
xor edx, 0x70df
or edx, 0xf6f8
pop edx
push eax
add eax, 0x12f76
and eax, 0xecb6
sub eax, 0x1371a
pop eax
mov eax, dword [ebp - 0x31c]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x324], ecx
push ecx
push edi
add esp, 4
or ecx, 0xbe6b
and ecx, 0x7d93
or ecx, 0x4719
sub ecx, 0xaf30
pop ecx
push edx
xor edx, 0xf096
lock add byte [eax], al
and edx, 0xc20a
sub edx, 0x16d13
pop edx
mov dword [ebp - 0x770], 0
mov edx, dword [ebp - 0x324]
invalid
xchg ebp, eax
clc
invalid
hlt