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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x1013cd38]
push ebx
mov ebx, ecx
push esi
push edi
mov edi, dword [ebx]
mov dword [ebp - 0x20], edi
cmp edi, dword [eax]
jne 0x100350de
mov edx, dword [ebx + 4]
mov ecx, edi
call fcn.1001f750
test eax, eax
je 0x100350de
mov ecx, dword [eax + 0x64]
lea edx, [ebp - 4]
call fcn.1003bdf0
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x40]
mov eax, dword [0x1013cd38]
mov dword [ebp - 0x1c], esi
cmp edi, dword [eax]
je 0x10034f48
mov ecx, dword [0x519d9c]
xor eax, eax
mov edx, dword [0x519da0]
test ecx, ecx
je 0x10034f62
mov esi, dword [edi + 0x64]
cmp dword [edx + eax*4], esi
je 0x10034f40
inc eax
cmp eax, ecx
jb 0x10034f34
jmp 0x10034f62
inc eax
test eax, eax
jle 0x10034f62
mov esi, dword [ebp - 0x1c]
mov ecx, edi
call fcn.10021440
mov eax, dword [eax + 0x1a8]
test eax, eax
je 0x10034f62
sub esi, dword [0x10140f7c]
mov dword [ebp - 0x1c], esi
cmp byte [edi + 0x67], 1
je 0x10034f6f
xor eax, eax
jmp 0x1003509c
mov ecx, edi
call fcn.10088070
mov dword [ebp - 8], eax
test eax, eax
jne 0x10034f8b
mov ecx, dword [edi + 0x64]
lea edx, [ebp - 8]
call fcn.1003bdf0
mov eax, dword [ebp - 8]
cmp dword [edi + 0x64], 0x1000000
mov esi, dword [eax + 0x24]
jne 0x10034fee
mov eax, dword [0x1013cd38]
cmp edi, dword [eax]
jne 0x10034fee
xor edx, edx
cmp dword [0x10176d18], edx
je 0x10034fcc
mov eax, dword [0x66be40]
cmp eax, 0xffffffff
je 0x10034fbb
mov edx, dword [eax*4 + 0x10176050]
mov eax, dword [0x66be44]
cmp eax, 0xffffffff
je 0x10034fcc
add edx, dword [eax*4 + 0x10176050]
mov ecx, 0xf
call fcn.10024b70
test eax, eax
je 0x10034fdb
inc edx
mov ecx, 1
call fcn.10024b70
test eax, eax
je 0x10034fec
add edx, 2
add esi, edx
xor eax, eax
cmp byte [edi + 0x67], 1
jne 0x10035018
mov ecx, edi
call fcn.10088070
mov dword [ebp - 8], eax
test eax, eax
jne 0x10035012
mov ecx, dword [edi + 0x64]
lea edx, [ebp - 8]
call fcn.1003bdf0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xb0]
add esi, eax
cmp dword [0x1013d3d0], 0
mov dword [ebp - 8], esi
jne 0x1003505a
mov eax, dword [ebp - 0x20]
call dword [0x10121538]
test eax, eax
je 0x1003503e
mov eax, dword [eax + 0x64]
cmp eax, dword [0x1013d3cc]
je 0x10035056
mov eax, dword [ebp - 0x20]
call dword [0x1012153c]
test eax, eax
je 0x1003505a
mov eax, dword [eax + 0x64]
cmp eax, dword [0x1013d3cc]
jne 0x1003505a
inc esi
mov dword [ebp - 8], esi
mov edx, 0x4f
mov ecx, edi
call fcn.10021af0
test eax, eax
je 0x10035091
mov edx, 7
mov ecx, edi
call fcn.10024750
cdq
mov ecx, edi
sub eax, edx
mov edx, 0x23
mov esi, eax
sar esi, 1
call fcn.10024750
cmp eax, esi
mov esi, dword [ebp - 8]
jge 0x10035091
inc esi
push 0
mov edx, esi
mov ecx, edi
call fcn.100c65e0
cmp dword [ebp - 0x1c], eax
jle 0x100350de
lea edx, [ebp - 0x18]
mov dword [ebp - 0x14], 0
mov ecx, 0x56d368
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x18], 0x6b
call fcn.1003d2d0
cmp eax, 1
jne 0x100350de
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call dword [0x1012171c]
test dword [ebx + 0x14], 0x100
je 0x100350ec
mov ecx, dword [ebx + 0x20]
jmp 0x100350ee
mov ecx, dword [ebx]
mov eax, dword [0x1013cd38]
mov byte [ebp - 0x40], 0
mov dword [ebp - 4], ecx
mov dword [ebp - 0x1c], ecx
mov esi, dword [eax]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
cmp byte [esi + 0x67], 1
mov dword [ebp - 8], esi
jne 0x100351bf
mov ecx, esi
call fcn.10088070
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x1003513d
mov ecx, dword [esi + 0x64]
lea edx, [ebp - 0x20]
call fcn.1003bdf0
mov eax, dword [ebp - 0x20]
mov edi, dword [eax + 0xac]
xor eax, eax
cmp byte [esi + 0x67], 1
jne 0x1003516d
mov ecx, esi
call fcn.10088070
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x10035167
mov ecx, dword [esi + 0x64]
lea edx, [ebp - 0x20]
call fcn.1003bdf0
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x138]
add edi, eax
cmp dword [0x1013d3d0], 0x22
jne 0x100351a9
mov eax, dword [ebp - 8]
call dword [0x10121538]
test eax, eax
je 0x10035190
mov eax, dword [eax + 0x64]
cmp eax, dword [0x1013d3cc]
je 0x100351a8
mov eax, dword [ebp - 8]
call dword [0x1012153c]
test eax, eax
je 0x100351a9
mov eax, dword [eax + 0x64]
cmp eax, dword [0x1013d3cc]
jne 0x100351a9
inc edi
push 0x22
mov edx, edi
mov ecx, esi
call fcn.100c65e0
mov dword [ebp - 0x18], 0x22c
test eax, eax
jne 0x100351c6
mov dword [ebp - 0x18], 0x1fa
lea edx, [ebp - 0x18]
mov ecx, 0x56d368
call fcn.1003d2d0
cmp eax, 1
jne 0x100351ed
mov ecx, dword [ebp - 0xc]
lea edx, [ebp - 0x40]
sub edx, ecx
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x100351e0
mov eax, dword [0x1013cd38]
mov esi, dword [ebp - 0x1c]
cmp esi, dword [eax]
jne 0x1003521c
lea edi, [ebp - 0x40]
mov edx, 0x22
mov ecx, esi
mov dword [ebp - 8], edi
call fcn.10024750
mov esi, eax
neg esi
sbb esi, esi
and esi, 0x32
add esi, 0x1f4
jmp 0x10035252
test esi, esi
je 0x10035249
mov eax, dword [ebp - 4]
call dword [0x10121348]
mov edx, 0x22
mov dword [ebp - 8], eax
mov ecx, esi
call fcn.10024750
mov esi, eax
neg esi
sbb esi, esi
and esi, 0x64
add esi, 0x258
jmp 0x10035252
mov eax, dword [ebp - 4]
mov esi, dword [ebp - 4]
mov dword [ebp - 8], eax
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x100353c1
mov edi, dword [ebx + 0x38]
test edi, edi
je 0x100353c1
cmp ecx, edi
je 0x100353c1
test dword [ebx + 0x14], 0x100
je 0x100353c1
mov byte [ebp - 0x240], 0
test byte [edi + 0x24], 8
jne 0x10035317
mov al, byte [ecx + 0x23]
and al, 0xf
cmp al, 1
je 0x1003529d
cmp dword [ecx + 0x78], 0xffffffff
je 0x10035317
mov eax, dword [0x1013cd38]
lea edx, [ebp - 0x18]
mov ecx, 0x56d368
cmp edi, dword [eax]
jne 0x100352dc
lea eax, [esi + 8]
mov dword [ebp - 0x18], eax
call fcn.1003d2d0
cmp eax, 1
jne 0x100353af
push dword [ebp - 8]
lea eax, [ebp - 0x240]
push dword [ebp - 0xc]
push eax
call fcn.1000d880
add esp, 0xc
jmp 0x100353af
lea eax, [esi + 9]
mov dword [ebp - 0x18], eax
call fcn.1003d2d0
cmp eax, 1
jne 0x100353af
mov dword [ebp - 4], edi
mov eax, dword [ebp - 4]
call dword [0x10121348]
push eax
push dword [ebp - 8]
lea eax, [ebp - 0x240]
push dword [ebp - 0xc]
push eax
call fcn.1000d880
add esp, 0x10
jmp 0x100353af
mov eax, dword [0x1013cd38]
mov edx, 0x22
mov ecx, dword [ebx]
cmp ecx, dword [eax]
jne 0x10035365
call fcn.10024750
neg eax
lea edx, [ebp - 0x18]
mov ecx, 0x56d368
sbb eax, eax
and eax, 0x32
add eax, 0x203
mov dword [ebp - 0x18], eax
call fcn.1003d2d0
cmp eax, 1
jne 0x1003539b
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0xc]
lea eax, [ebp - 0x240]
push eax
call fcn.1000d880
add esp, 0xc
jmp 0x1003539d
call fcn.10024750
neg eax
lea edx, [ebp - 0x18]
mov ecx, 0x56d368
sbb eax, eax
and eax, 0x64
add eax, 0x267
mov dword [ebp - 0x18], eax
call fcn.1003d2d0
cmp eax, 1
jne 0x1003539b
mov eax, dword [ebx]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call dword [0x10121348]
jmp 0x10035350
xor eax, eax
lea ecx, [ebp - 0x240]
mov edx, 0x10122058
add ecx, eax
call fcn.10034a10
lea eax, [ebp - 0x240]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call dword [0x1012171c]
mov edx, dword [ebx + 0x14]
test edx, 0x100
je 0x1003565f
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x1003565f
mov al, byte [ecx + 0x23]
and al, 0xf
cmp al, 1
jne 0x1003565f
mov byte [ebp - 0x240], 0
mov eax, dword [ecx + 0x44]
shr eax, 7
not al
test al, 1
je 0x1003565f
mov eax, dword [ebx + 0x28]
cmp eax, 8
jne 0x10035480
test edx, 0x200
je 0x1003546b
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x10035425
cmp eax, 1
jne 0x10035420
lea eax, [esi + 0x18]
jmp 0x10035428
lea eax, [esi + 0x14]
jmp 0x10035428
lea eax, [esi + 0x1c]
lea edx, [ebp - 0x18]
mov dword [ebp - 0x18], eax
mov ecx, 0x56d368
xor edi, edi
call fcn.1003d2d0
cmp eax, 1
jne 0x1003552c
mov eax, dword [ebx + 0x2c]
cmp eax, 1
jle 0x10035451
push eax
jmp 0x10035515
push dword [ebp - 8]
lea eax, [ebp - 0x240]
push dword [ebp - 0xc]
push eax
call fcn.1000d880
add esp, 0xc
jmp 0x1003552a
push dword [ebx + 0x2c]
mov edx, ecx
lea ecx, [ebp - 0x240]
call fcn.10034a30
jmp 0x1003552a
mov edx, eax
call fcn.10031220
xor edi, edi
mov dword [ebp - 4], eax
test eax, eax
je 0x1003552c
test dword [ebx + 0x14], 0x200
mov ecx, dword [ebx + 0x2c]
je 0x100354bd
test ecx, ecx
je 0x100354b8
cmp ecx, 1
mov eax, 0xb
mov edx, 0x15
cmove eax, edx
add eax, esi
jmp 0x100354d8
lea eax, [esi + 0x19]
jmp 0x100354d8
test ecx, ecx
je 0x100354d5
cmp ecx, 1
mov eax, 0xc
mov edx, 0x16
cmove eax, edx
add eax, esi
jmp 0x100354d8
lea eax, [esi + 0x1a]
lea edx, [ebp - 0x18]
mov dword [ebp - 0x18], eax
mov ecx, 0x56d368
xor edi, edi
call fcn.1003d2d0
cmp eax, 1
jne 0x1003552c
mov eax, dword [ebx + 0x2c]
cmp eax, 1
jle 0x10035512
push eax
push dword [ebp - 4]
lea eax, [ebp - 0x240]
push dword [ebp - 8]
push dword [ebp - 0xc]
push eax
call fcn.1000d880
add esp, 0x14
jmp 0x1003552a
push dword [ebp - 4]
push dword [ebp - 8]
lea eax, [ebp - 0x240]
push dword [ebp - 0xc]
push eax
call fcn.1000d880
add esp, 0x10
mov edi, eax
lea eax, [ebp - 0x240]
mov dword [ebp - 4], 1
push str.combat_messages
mov edx, str.preferences
lea ecx, [ebp - 4]
add edi, eax
call fcn.10016ef0
cmp dword [ebp - 4], 1
jne 0x1003562f
test dword [ebx + 0x14], 0x200
je 0x1003562f
mov eax, dword [ebx + 0x1c]
cmp eax, 0xffffffff
je 0x1003562f
lea edx, [ebp - 0x18]
mov dword [ebp - 0x18], eax
mov ecx, 0x56d368
call fcn.1003d2d0
cmp eax, 1
jne 0x10035591
mov edx, dword [ebp - 0xc]
mov ecx, edi
call fcn.10034a10
mov edi, eax
test byte [ebx + 0x30], 0x80
je 0x1003563e
mov edx, 0x10122058
mov ecx, edi
call fcn.10034a10
lea eax, [ebp - 0x240]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call dword [0x1012171c]
mov eax, dword [0x1013cd38]
lea edi, [ebp - 0x240]
mov ecx, dword [ebx + 0x20]
mov edx, 0x22
mov byte [ebp - 0x240], 0
cmp ecx, dword [eax]
jne 0x100355ed
mov ecx, dword [ebp - 0x1c]
call fcn.10024750
neg eax
sbb eax, eax
and eax, 0x32
add eax, 0xcf
jmp 0x100355fe
call fcn.10024750
neg eax
sbb eax, eax
and eax, 0x64
add eax, 0x133
lea edx, [ebp - 0x18]
mov dword [ebp - 0x18], eax
mov ecx, 0x56d368
call fcn.1003d2d0
cmp eax, 1
jne 0x1003563e
push dword [ebp - 0xc]
lea eax, [ebp - 0x240]
push dword [ebp - 8]
push str._s__s
push eax
call fcn.1000d880
add esp, 0x10
jmp 0x10035640
push dword [ebx + 0x20]
mov edx, dword [ebx + 0x30]
mov ecx, edi
call fcn.10034be0
mov edi, eax
xor eax, eax
lea ecx, [edi + eax]
mov edx, 0x10122058
call fcn.10034a10
lea eax, [ebp - 0x240]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call dword [0x1012171c]
mov eax, dword [ebx]
test eax, eax
je 0x10035760
mov eax, dword [eax + 0x44]
shr eax, 7
not al
test al, 1
je 0x10035760
mov eax, dword [ebx + 0x14]
test eax, 0x100
jne 0x10035739
test eax, 0x200
je 0x100356a7
mov ecx, dword [ebx + 0x10]
test ecx, ecx
jne 0x1003569a
lea eax, [ecx + 0xe]
jmp 0x100356ac
xor eax, eax
cmp ecx, 1
setne al
add eax, 0x21
jmp 0x100356ac
mov eax, 0xf
add eax, esi
lea edx, [ebp - 0x18]
mov ecx, 0x56d368
mov dword [ebp - 0x18], eax
xor edi, edi
call fcn.1003d2d0
cmp eax, 1
jne 0x100356fc
mov eax, dword [ebx + 0x10]
cmp eax, 1
jg 0x100356e4
push dword [ebp - 8]
lea eax, [ebp - 0x240]
push dword [ebp - 0xc]
push eax
call fcn.1000d880
add esp, 0xc
jmp 0x100356fa
push eax
push dword [ebp - 8]
lea eax, [ebp - 0x240]
push dword [ebp - 0xc]
push eax
call fcn.1000d880
add esp, 0x10
mov edi, eax
push dword [ebx]
mov edx, dword [ebx + 0x14]
lea ecx, [ebp - 0x240]
add ecx, edi
mov esi, 0x10122058
call fcn.10034be0
mov ecx, eax
mov al, 0x2e
mov byte [ecx], al
lea esi, [esi + 1]
mov al, byte [esi]
lea ecx, [ecx + 1]
test al, al
jne 0x10035717
mov byte [ecx], al
lea eax, [ebp - 0x240]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call dword [0x1012171c]
mov edx, dword [ebx + 0x10]
test edx, edx
jle 0x10035760
mov eax, dword [ebx + 0x14]
test eax, 0x100
jne 0x10035751
test eax, 0x200
jne 0x10035760
lea ecx, [ebp - 0x240]
push ecx
mov ecx, dword [ebx]
push eax
call fcn.10034e80
xor edx, edx
mov dword [ebp - 4], edx
cmp dword [ebx + 0x3c], edx
jbe 0x100357ed
lea ecx, [ebx + 0x88]
mov dword [ebp - 0x20], ecx
mov edi, dword [ecx - 0x48]
mov dword [ebp - 0x1c], edi
mov eax, dword [edi + 0x44]
shr eax, 7
not al
test al, 1
je 0x100357de
mov esi, dword [ecx]
mov edx, edi
push dword [ecx - 0x18]
lea ecx, [ebp - 0x240]
call fcn.10034a30
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x240]
mov edx, esi
add ecx, eax
mov edi, 0x10122058
call fcn.10034be0
mov ecx, eax
mov al, 0x2e
mov byte [ecx], al
lea edi, [edi + 1]
mov al, byte [edi]
lea ecx, [ecx + 1]
test al, al
jne 0x100357b6
mov byte [ecx], al
lea eax, [ebp - 0x240]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
call dword [0x1012171c]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 4]
inc edx
add ecx, 4
mov dword [ebp - 4], edx
mov dword [ebp - 0x20], ecx
cmp edx, dword [ebx + 0x3c]
jb 0x10035777
call fcn.100e4440
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret