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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x1004045c]
mov ecx, 0x5a4d
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x54], eax
push edi
mov dword [ebp - 0x98], edx
mov eax, ebx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], 0x2532
mov dword [ebp - 0x24], 0x1d49
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], 0xf9b
mov dword [ebp - 0x14], 0x1090
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], 0xd46
cmp eax, 4
je 0x10017b14
inc eax
cmp eax, 0xa
jl 0x10017b09
mov eax, dword [ebp + eax*4 - 0x30]
mov edx, dword [0x1003eb74]
mov dword [ebp - 0x7c], eax
mov eax, 0x4550
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [0x1003ec4c]
mov ecx, eax
push eax
mov dword [ebp - 0x34], 0x6be
mov dword [ebp - 0x30], 0x8da
mov dword [ebp - 0x2c], 0xa68
mov dword [ebp - 0x28], 0x74c
mov dword [ebp - 0x24], 0xe37
mov dword [ebp - 0x20], 0xa55
mov dword [ebp - 0x10], 0x9ef
mov dword [ebp - 0xc], 0xbae
mov dword [ebp - 4], eax
call fcn.10015d26
mov esi, str.10252_t3:3K3x3j4
mov dword [ebp - 0x48], ebx
lea edi, [ebp - 0x70]
mov eax, ebx
pop ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cmp byte [ebp - 0x70], 0x66
jne 0x10017bf4
mov cl, 0x66
test cl, cl
je 0x10017bb3
cmp byte [ebp + eax - 0x70], bl
je 0x10017bb3
call fcn.100165ca
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
mov cl, byte [eax + str.form_feed]
cmp cl, byte [ebp + eax - 0x70]
je 0x10017b91
mov edi, dword [ebp - 0x4c]
cmp edi, eax
jae 0x10017bec
mov eax, dword [0x1003eb74]
mov esi, dword [ebp - 0x48]
or eax, 0xe2d0e24e
mov dword [ebp - 4], eax
cmp edi, 0x9ee
jne 0x10017bd7
call fcn.1001631c
push dword [0x1003eb74]
call fcn.10016ceb
add esp, 4
inc edi
cmp edi, esi
jb 0x10017bca
jmp 0x10017bf4
mov eax, dword [0x1003ec4c]
mov dword [ebp - 4], eax
mov al, byte [0x1003ec94]
lea edi, [ebp - 0x6c]
mov esi, str.0F1U1_2p2u2z2
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov edi, str.OnExit_called
cmp al, byte [ebp - 0x6c]
jne 0x10017c32
mov esi, ebx
test al, al
je 0x10017c32
cmp byte [ebp + esi - 0x6c], bl
je 0x10017c32
mov edx, edi
mov ecx, edi
call fcn.10015fa7
mov al, byte [esi + 0x1003ec95]
inc esi
cmp al, byte [ebp + esi - 0x6c]
je 0x10017c12
mov eax, dword [ebp - 4]
mov ecx, ebx
or eax, 0xd78ad645
mov dword [ebp - 4], eax
cmp ecx, 6
je 0x10017c4a
inc ecx
cmp ecx, 0xb
jl 0x10017c3f
mov ecx, dword [ebp + ecx*4 - 0x34]
mov edx, 0x20b5
mov dword [ebp - 0x80], ecx
mov ecx, ebx
mov dword [ebp - 0x34], 0x235e
mov dword [ebp - 0x30], 0x193
mov dword [ebp - 0x2c], 0x1951
mov dword [ebp - 0x28], 0x2160
mov dword [ebp - 0x24], 0x2156
mov dword [ebp - 0x20], 0x880
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], 0x755
mov dword [ebp - 0x10], 0xfff
mov dword [ebp - 0xc], 0x1c33
cmp ecx, 6
je 0x10017ca8
inc ecx
cmp ecx, 0xb
jl 0x10017c9d
mov ecx, dword [ebp + ecx*4 - 0x34]
xor ecx, 0xb5
mov dword [ebp - 0x30], ebx
add eax, 0x91596013
mov dword [ebp - 0x84], ecx
mov ecx, ebx
mov dword [ebp - 0x2c], 0xaa
mov dword [ebp - 0x28], 0xfe1
mov dword [ebp - 0x24], 0xe3
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], 0x702
mov dword [ebp - 0x18], 0x810
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x50], eax
test ecx, ecx
je 0x10017cfe
inc ecx
cmp ecx, 0xa
jl 0x10017cf4
mov eax, dword [ebp + ecx*4 - 0x30]
mov dword [ebp - 0x88], eax
mov eax, ebx
mov dword [ebp - 0x44], 0x229c
mov dword [ebp - 0x40], 0x3c6
mov dword [ebp - 0x3c], 0x1ff1
mov dword [ebp - 0x38], 0x1c51
mov dword [ebp - 0x34], 0xccc
mov dword [ebp - 0x30], 0x200c
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], 0xb9e
mov dword [ebp - 0x18], 0x142b
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], 0x1fa4
mov dword [ebp - 0xc], 0x167
cmp eax, 9
je 0x10017d6a
inc eax
cmp eax, 0xf
jl 0x10017d5f
mov eax, dword [ebp + eax*4 - 0x44]
mov edx, edi
mov dword [ebp - 0x90], eax
mov ecx, str.form_feed
mov eax, 0xde
mov dword [ebp - 0x1c], 0x2344
push edi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], 0x2b1
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0x191f
call fcn.10016cfd
pop ecx
push 6
pop ecx
mov esi, str.ham_radio_op
mov dword [ebp - 8], ebx
lea edi, [ebp - 0x78]
rep movsd dword es:[edi], dword [esi]
push 0x4f
pop eax
movsw word es:[edi], word [esi]
cmp ax, word [ebp - 0x78]
jne 0x10017df3
mov ecx, eax
mov eax, ebx
test cx, cx
je 0x10017df3
cmp word [ebp + eax - 0x78], bx
je 0x10017df3
call fcn.1001741f
mov edx, dword [ebp - 8]
inc edx
mov dword [ebp - 8], edx
lea eax, [edx + edx]
movzx ecx, word [eax + str.OnExit_called]
cmp cx, word [ebp + eax - 0x78]
je 0x10017dca
mov eax, ebx
cmp eax, 1
je 0x10017e00
inc eax
cmp eax, 8
jl 0x10017df5
mov eax, dword [ebp + eax*4 - 0x28]
xor eax, 0xde
mov dword [ebp - 0x38], 0x2227
mov dword [ebp - 0x8c], eax
mov eax, ebx
mov dword [ebp - 0x34], 0x25df
mov dword [ebp - 0x30], 0x1214
mov dword [ebp - 0x2c], 0x60e
mov dword [ebp - 0x28], 0x1220
mov dword [ebp - 0x24], 0x1dd3
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], 0x2428
mov dword [ebp - 0x18], 0x725
mov dword [ebp - 0x14], 0x1abd
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], 0xd05
cmp eax, 6
je 0x10017e68
inc eax
cmp eax, 0xc
jl 0x10017e5d
mov eax, dword [ebp + eax*4 - 0x38]
mov dword [ebp - 0x58], eax
mov eax, ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], 0x613
mov dword [ebp - 0x70], 0x22b
mov dword [ebp - 0x6c], 0x11f1
mov dword [ebp - 0x68], 0x239f
mov dword [ebp - 0x64], ebx
test eax, eax
je 0x10017e9d
inc eax
cmp eax, 6
jl 0x10017e93
mov eax, dword [ebp + eax*4 - 0x78]
mov dword [ebp - 0x94], eax
mov eax, ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], 0x240
mov dword [ebp - 0x2c], 0x254d
mov dword [ebp - 0x28], 0x22df
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], 0x13b6
mov dword [ebp - 0x1c], 0x172b
mov dword [ebp - 0x18], 0x5b4
mov dword [ebp - 0x14], 0xcf7
mov dword [ebp - 0x10], 0x2270
mov dword [ebp - 0xc], 0x1cb9
test eax, eax
je 0x10017ef8
inc eax
cmp eax, 0xb
jl 0x10017eee
mov eax, dword [ebp + eax*4 - 0x34]
mov dword [ebp - 0x5c], eax
mov eax, ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], 0x2162
mov dword [ebp - 0x30], 0x2255
mov dword [ebp - 0x2c], 0x5d0
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], 0x1cbd
mov dword [ebp - 0x20], 0x19e9
mov dword [ebp - 0x1c], 0x7f7
mov dword [ebp - 0x18], 0x24b8
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], 0x2223
mov dword [ebp - 0xc], 0x227d
test eax, eax
je 0x10017f53
inc eax
cmp eax, 0xc
jl 0x10017f49
mov ecx, dword [ebp + eax*4 - 0x38]
lea edi, [ebp - 0x74]
mov eax, dword [ebp - 4]
mov esi, str.StackWalk
push 5
mov dword [ebp - 0x48], ecx
or eax, 0x2327390c
pop ecx
rep movsd dword es:[edi], dword [esi]
push 0x4f
pop ecx
mov edx, ebx
mov dword [ebp - 4], eax
mov dword [0x1003eb74], eax
mov dword [ebp - 8], edx
cmp cx, word [ebp - 0x74]
jne 0x10017fea
mov eax, ebx
test cx, cx
je 0x10017fb0
cmp word [ebp + eax - 0x74], bx
je 0x10017fb0
call fcn.1001741f
mov edx, dword [ebp - 8]
inc edx
mov dword [ebp - 8], edx
lea eax, [edx + edx]
movzx ecx, word [eax + str.OnExit_called]
cmp cx, word [ebp + eax - 0x74]
je 0x10017f87
mov esi, dword [ebp - 0x4c]
cmp esi, edx
jae 0x10017fea
mov ebx, dword [ebp - 4]
mov edi, dword [ebp - 8]
call fcn.10017016
cmp esi, 0xd05
jne 0x10017fd6
imul ebx, ebx, 0xe43f111
mov dword [0x1003eb74], ebx
mov eax, ebx
or eax, 0xb9fbcb87
inc esi
mov dword [ebp - 0x50], eax
cmp esi, edi
jb 0x10017fbd
mov dword [ebp - 4], ebx
xor ebx, ebx
call fcn.1001719a
push 0xa
pop ecx
mov esi, str.Invalid_index_passed_to_GetClientData__
lea edi, [ebp - 0x30]
rep movsd dword es:[edi], dword [esi]
cmp byte [ebp - 0x30], 0x66
jne 0x10018029
mov edx, dword [ebp - 0x50]
mov esi, ebx
push 0x66
pop eax
test al, al
je 0x10018029
cmp byte [ebp + esi - 0x30], 0
je 0x10018029
push ecx
call fcn.100167eb
mov al, byte [esi + 0x10037649]
inc esi
pop ecx
cmp al, byte [ebp + esi - 0x30]
je 0x1001800a
push 0x4b
pop ecx
mov eax, ebx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], 0x23c8
mov dword [ebp - 0x20], 0x617
mov dword [ebp - 0x1c], 0x1553
mov dword [ebp - 0x18], 0x300
mov dword [ebp - 0x14], 0x1a35
mov dword [ebp - 0x10], 0x20ae
mov dword [ebp - 0xc], ecx
cmp eax, 7
je 0x10018069
inc eax
cmp eax, 8
jl 0x1001805e
mov eax, dword [ebp + eax*4 - 0x28]
xor eax, ecx
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x4c], eax
movzx eax, word [ecx]
cmp eax, dword [ebp - 0x7c]
je 0x100180ed
mov eax, dword [ebp - 4]
or eax, 0x31ec754b
mov dword [ebp - 0x3c], 0xbb9
mov dword [0x1003ec4c], eax
mov dword [ebp - 0x38], 0x25cd
mov dword [ebp - 0x34], 0xe96
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], 0x6a0
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], 0x1a01
mov dword [ebp - 0x1c], 0x1bdc
mov dword [ebp - 0x18], 0x1cdf
mov dword [ebp - 0x14], 0x1eaa
mov dword [ebp - 0x10], 0x1e0e
mov dword [ebp - 0xc], 0x1a82
cmp ebx, 3
je 0x100180e4
inc ebx
cmp ebx, 0xd
jl 0x100180d9
mov eax, dword [ebp + ebx*4 - 0x3c]
jmp 0x100182f8
call fcn.1001683c
cmp byte [0x1003ec94], 0
mov edi, ebx
mov esi, dword [ebp - 0x50]
mov dword [ebp - 8], edi
je 0x10018123
lea eax, [esi - 0x3c052ad0]
mov dword [ebp - 4], eax
mov dword [0x1003eb74], eax
call fcn.1001683c
inc edi
cmp byte [edi + 0x1003ec94], 0
jne 0x10018111
mov dword [ebp - 8], edi
mov eax, str.OnExit_called
mov ecx, 0x1003ec94
push eax
mov edx, eax
call fcn.10016cfd
mov edi, dword [ebp - 0x4c]
pop ecx
cmp edi, dword [ebp - 8]
jae 0x10018179
cmp edi, 0x109c
jne 0x1001814c
add esi, 0x6183a1f7
push ecx
mov ebx, esi
mov edx, str.OnExit_called
or ebx, 0x7c4cbe99
mov ecx, esi
push str.form_feed
mov dword [ebp - 4], ebx
mov dword [0x1003eb74], ebx
call fcn.1001777f
inc edi
pop ecx
pop ecx
cmp edi, dword [ebp - 8]
jb 0x1001813e
xor ebx, ebx
mov edx, dword [ebp - 0x54]
or esi, 0x62f4b426
mov eax, dword [ebp - 0x80]
mov dword [0x1003ec4c], esi
mov ecx, dword [edx + 0x3c]
add ecx, edx
cmp dword [ecx], eax
je 0x100181df
imul eax, dword [ebp - 4], 0x33915c35
mov dword [ebp - 0x2c], 0x6a
mov dword [ebp - 0x28], 0x19c2
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [0x1003eb74], eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 0x500
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], 0x14a0
mov dword [ebp - 0xc], ebx
cmp ebx, 4
je 0x100181d6
inc ebx
cmp ebx, 9
jl 0x100181cb
mov eax, dword [ebp + ebx*4 - 0x2c]
jmp 0x100182f8
movzx eax, word [ecx + 0x16]
and eax, dword [ebp - 0x84]
cmp eax, dword [ebp - 0x88]
je 0x100182ac
mov edi, dword [ebp - 0x90]
mov eax, dword [ebp - 0x8c]
cmp dword [ecx + edi*8 + 0x78], eax
je 0x100182ac
mov edi, dword [ebp - 0x58]
mov eax, dword [ebp - 0x94]
cmp dword [ecx + edi*8 + 0x7c], eax
je 0x100182ac
mov eax, dword [ebp - 0x5c]
mov eax, dword [ecx + eax*8 + 0x78]
mov edi, dword [eax + edx + 0x1c]
mov ebx, dword [eax + edx + 0x24]
add ebx, edx
lea ecx, [edi + edx]
mov dword [ebp - 0x58], ecx
mov ecx, dword [eax + edx + 0x20]
mov eax, dword [ebp - 0x48]
add ecx, edx
or esi, 0xa3fd6942
mov dword [ebp - 0x5c], ecx
mov dword [0x1003ec4c], esi
jmp 0x10018275
mov ecx, dword [ecx + eax*4]
add ecx, edx
call fcn.1000ecaf
mov edx, eax
call fcn.1001781c
cmp eax, dword [ebp - 0x98]
je 0x1001827e
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x5c]
inc eax
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x48], eax
cmp eax, edi
jb 0x1001824f
mov eax, dword [ebp - 0x4c]
jmp 0x100182f8
add esi, 0x24ed4747
mov dword [0x1003ec4c], esi
call fcn.1001649b
mov ecx, dword [ebp - 0x48]
lea eax, [esi - 0x6ab29156]
mov dword [0x1003eb74], eax
movzx eax, word [ebx + ecx*2]
mov ecx, dword [ebp - 0x58]
mov eax, dword [ecx + eax*4]
add eax, dword [ebp - 0x54]
jmp 0x100182f8
mov dword [ebp - 0x34], 0x6c7
mov dword [ebp - 0x30], 0x1d47
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], 0x97d
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], 0x56c
mov dword [ebp - 0x1c], 0xbf0
mov dword [ebp - 0x18], 0x9f6
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], 0x506
mov dword [ebp - 0xc], ebx
cmp ebx, 8
je 0x100182f4
inc ebx
cmp ebx, 0xb
jl 0x100182e9
mov eax, dword [ebp + ebx*4 - 0x34]
pop edi
pop esi
pop ebx
leave
ret